Just took the developer.mbed.org/.../ code and run it on the board.
But when I try to connect with my phone I get: "Device doesn't support UART. Disconnecting".
What am I missing? Do I have to change any code?
Just took the developer.mbed.org/.../ code and run it on the board.
But when I try to connect with my phone I get: "Device doesn't support UART. Disconnecting".
What am I missing? Do I have to change any code?
Hi Urfen,
I'm testing here with the mbed project and nRF UART 2.0 android app and has no issue. I suspect that it was because the phone had cached the ATT table and didn't do a service discovery when you changed the firmware on the nRF51. You can try to erase bond, and stop and start Bluetooth to see if the issue goes away.
Hi Urfen,
I'm testing here with the mbed project and nRF UART 2.0 android app and has no issue. I suspect that it was because the phone had cached the ATT table and didn't do a service discovery when you changed the firmware on the nRF51. You can try to erase bond, and stop and start Bluetooth to see if the issue goes away.
Thanks, removed the bond by disconecting from another working ble sample. Works now :) Now the problem is: Sending an int using the BLE_UARTConsole code.
@Urfen: If the answer worked for you please mark it as correct. You should open another question for other issue. Just to have a quick answer, the data you send using uart->write() is an array of uint8_t so, you would need to convert your int to uint8 before sending.