SetConsole, ... #6818
Replies: 1 comment
-
Posted at 2018-05-11 by @gfwilliams What happens if you just try And if you just do:
Do normal bluetooth comms all seem to work ok? It might just be that DeviceInitialised isn't set for Serial1, so calling Posted at 2018-05-11 by JumJum Oh, LoopbackA.setConsole(), and I get an illegal instruction panic Problem starts in jshUSARTSetup, have to dig deeper. Oh, this problem is fixed, default in switch for serial ports was wrong. One more chance for me to dig deeper, ..... Posted at 2018-05-14 by JumJum Problem was missing SetDeviceInitialised for Serial1. BTW, looks to me, like LOOPbackA and LoopbackB are not initialised, at least flag is not set. One more success, Bluetooth.setConsole works fine, and next Serial1.setConsole from my Android with nRf UART V2.0 returns control to webIDE. Now I've to figure out, why Windows10 does not like my ESP32, ....... Posted at 2018-05-14 by Wilberforce I think with windows 10 you have to pair the device - I think that's what you to do with a puck - I've not tried for a while as the web Bluetooth support is lousy under windows and I think the latest chrome has only partial notification support. Posted at 2018-05-14 by JumJum @wilberforce, thats correct, first of all I've to pair in Admin screen. Same as with Puck. Does windows expect something, that ESP32 does not deliver or ???? Posted at 2018-05-14 by @gfwilliams
Yes - same with Bluetooth. I'd just ignore any request to USARTSetup a device that you don't know about.
Seems strange... You could give this a try and see if it gives you any useful errors? https://www.microsoft.com/en-us/store/p/bluetooth-le-explorer/9n0ztkf1qd98 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-05-11 by JumJum
Now that Bluetooth.print works fine, next step is to test Bluetooth as console.
First step is to write a simple function, which
2.1. set one more timeout
Some prints are added to each step.
Expectation for this function is,
Hopefully the following description is not too confusing
Testing itself is
On WebIDE I see
In nRF Uart everything looks like expected
Beta Was this translation helpful? Give feedback.
All reactions