Ryan Powell

Results 894 comments of Ryan Powell

There is only room for one 128bit uuid in the advertisement. The current code does not create a second instance of a service uuid list in the scan response using...

The iBeacon example shows the use of this. https://github.com/h2zero/NimBLE-Arduino/blob/release/1.4/examples/Refactored_original_examples/BLE_iBeacon/BLE_iBeacon.ino

You need to create 2 instances of advertisement data, one for the advertisement and the other for scan response. Each should have a different service uuid.

Standard convention would be to have the flags and main uuid in the advertisement, then the name and secondary data in the scan response. > Can I somehow concatenate this...

I'm not sure if that would be possible with NimBLE as the functions don't really allow for it.

Normally it's expected that the client requests the MTU exchange. There is no server method for this implemented at this time but it should be possible to use the lower...

I'm not sure about the code you've provided above, but in this library the call structure would be: ``` NimBLEExtAdvertisement extAdv(primaryPhy, secondaryPhy); extAdv.setName(DEVICE_NAME); NimBLEExtAdvertising* pAdvertising = NimBLEDevice::getAdvertising(); pAdvertising->setInstanceData(0, extAdv); pAdvertising->start(0,...

There is no way to avoid the reboot if you need to use deep sleep. If you want to use light sleep I think you can just deinit the BLE/WiFi...

Yes, as long as you stop advertising first. After that you can change whatever you like in the same way you originally set it.

> we have encountered issues where customer routers are not responding correctly to the NTP sync request, and causing time sync to fail. This seems strange to me, if the...