sm9i
sm9i
kotlin code and console: ```kotlin fun getAllDevice() { val portList = CommPortIdentifier.getPortIdentifiers() while (portList.hasMoreElements()) { val device: CommPortIdentifier = portList.nextElement() as CommPortIdentifier println("可用端口:${device.name}") } } ``` console: ```console 可用端口:/dev/tty.BLTH 可用端口:/dev/cu.BLTH...
是因为版本问题吗。。我就说我的找不到小助手的入口
用session 来保持连续对话
> > 用session 来保持连续对话 > > 咋用?求指點,感謝大佬 我还没试过这是百度给的。我的api好像用不了
> > > > 用session 来保持连续对话 > > > > > > > > > 咋用?求指點,感謝大佬 > > > > > > 我还没试过这是百度给的。我的api好像用不了 > > 有百度的連接嗎?我看官方API文檔沒有提到與session相關的 輸入 刚才找了下没找到..不过网上还是有session id这个玩意 但是调用的方法跟现在的不一样了。我不知道能不能用...
这是gpt给我的,我之前也确实查到过,但到目前我的sdk还没解决好,用不了,没试过这个你可以试试