I’ve started experimenting with 1.3.0-rc1 and have run into a few important issues around bluetooth that I was wondering if people know how to address:
BleAddresses are backwards. When I scan devices with nRF Connect and get addresses like 00:11:22:33:44:44, but when I scan with my Argon, I get 55:44:33:22:11:00.
I can’t find an easy way to construct BleAddresses. There is a specific address I want to connect to; I might as well specify it as a constant in my file. What’s the right way to do this?
Connectivity has been an issue. When my device and the device I want to connect to first boot up, I get a peer connection without a problem. If I call BLE.disconnect, I can then reconnect them. This is great.
However, if I reboot the Argon without calling disconnect first, they will no longer reconnect, unless I reboot the target device as well. I don’t have this issue when I connect to it from my phone or computer. The problem seems specific to the Argon. For example:
The device address is stored in little endian, so we should print the device address from address[5] - address[0]. We will update the BLE examples to make it print correctly.
With regards of 1.3.0-rc.1, there is no wiring API to set device address, so constructnig a BleAddress is not considered as necessary. Thank you for suggestion and we will implement some of convenient methods to construct a BleAddress object and expose an API to set BLE device address.
I'm not quite follow this issue. Since I don't know what is so-called failure. Could you give more symptoms? According to the log you posted, that is a fake error once connected, we will hanlde it appropriately.