Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 5 months ago.
No work with nRF UART on IOS
Good Morning,
For check the issue, what is the app on IOS to use ?
nRF UART from Nordic do not detect the device perharps not the good UID
EBeacon, detect the device you can send an octect like 0x54 for "T" for example. You can Start and Stop Notify but you can receive any data from the PC
Thanks for more explanation for this great idea of UART on BLE and MBED
Best regards
Question relating to:
4 Answers
10 years, 3 months ago.
Just tested nRF UART from Nordic Semiconductor and it worked without any issue. Since this question was posted there has been changes in the mbed UART application; to me it seems that two bytes in the UUID were swapped. You should try again!
10 years, 5 months ago.
I have the same issue with the iOS app not working.
In my own app, that I have working with nrf8001 and Arduino (it uses the same RX/TX uid), I also had the same problem.
I had this call to CBCentralManager scanForPeripheralsWithServices:
[_manager scanForPeripheralsWithServices:@[UARTPeripheral.uartServiceUUID] options:@{CBCentralManagerScanOptionAllowDuplicatesKey: [NSNumber numberWithBool:NO]}];
When I swap it out with this, the connection works:
[_manager scanForPeripheralsWithServices:nil options:nil];
I haven't looked at the source for the nordic test app, but it appears that it scans for the uartServiceUUID explicitly. This could be a bug in the mbed BLE library, scanning for uuid explicitly ought to work.
Obviously, with the nil parameter to scanForPeripheralsWithServices you will get one call to didDiscoverPeripheral for each BLE device in the vicinity.
It's unclear to me if it is possible to filter on which device to connect to in didDiscoverPeripheral as iOS doesn't let you access the actual uuid here.
posted by 09 Jun 2014