It’s Wistoolbox via BLE available on custom RUI3 FW? I’m trying with simple setup() and loop() but the module doesn’t announce.
Maybe I must activate BLE interface on setup side?
If I flash RUI3 4.0.0 from wistoolbox I can see the device, but once flashed with custom FW doesn’t appear.
When using custom firmware you have to start BLE advertising manually with api.ble.advertise.start(30);. The 30 here means 30 seconds active advertising, then it stops. A 0 would start advertising forever until you call api.system.advertise.stop()
Tested this function on may and It’s true that the module advertises correctly but didn’t find a way to connect and sync data on that time.
Now on RUI 4.0.6 (+ custom firmware) and latest wistoolbox android, the device is showing the same behavior, it connects but wistoolbox complains that cannot detect the device, also connecting to AT console from wistoolbox the device doesn’t respond to any AT command sent.
Attached at the same time to USB terminal, I can see Connected and Disconnected messages.
Tested and working okay. BTW if I remember well, wistoolbox does get custom AT commands to show on application?
I’ve enabled custom commands option on wistoolbox settings but they doesn’t appear.
That’s at least the theory, I just tried over BLE and it didn’t show me the custom AT commands. I can issue them through the BLE console, I can see them with AT?, but they are not shown in the “normal” UI.
As a suggestion for WisToolBox, will be amazing if software engineers add support for custom AT commands introduction other than string values. I mean, a combobox with fixed values, or a slider for integer values.
Probably they’ll need to redefine RUI3 API too, but I think this is a nice to have feature.
Hi Javier,
Interesting suggestion, not sure if it can be realized as there are so many options that will pop-up with such features. It will be definitely require changes on both WisToolBox and RUI3 API.
I have forwarded the suggestion to our teams.
@javier.nr
Sorry for the late reply on the WisToolBox BLE custom AT command issue.
It turned out that the problem is on the RUI3 side. While the custom AT commands are now shown (WistoolBox problem, fixed in the next release), on the RUI3 side there is still a bug.
Custom AT commands in RUI3 are only working over UART/USB connection. They are not working over BLE. I opened an issue in our internal bug list and wait for the response from the team.