Hello,
I am applying Redboard Artemis example ble_freertos_amdtps using IAR , it works fine with nRF-Connect ,
i can connct the Redboard Artemis to it , and in debugging i have found out that there is a response when i ask for data in the file :
atta_ccc.c → in function : attsCccMainCback
but i really want to know, how to send data via BLE , even 1 Char
anyone has an idea ?
i used the code from https://github.com/paulvha/apollo3 in project ble_amdtp_arduino/Amdtps
and now i can use the incomming data( Mobile->Redboard_artemis) in the function AmdtpReceivePkt in the file amdtp_common
but i still have to figure out how to send from board to Mobile :?:
KHE
July 10, 2020, 7:13pm
3
bi-directional redboard nano to android 8.0 and higher. Has both android source and apk file. Board sends ack and echoes any command sent to it.
https://github.com/kerryeven/AndroidArt … UartClient
thank you for your reply,
actully i used your code and install the App , and give it all the promotions to access evrey thing it want , but i could not find any device when it scanns.
any way i used NRF-connect app and BLE Scanner App to connect the board , and i gut the same result
i can send data , but when i klick recieve i cannot see any encomming data
in UUID: …0012
Notification enabled
https://drive.google.com/file/d/14tJwvD … sp=sharing
can you please help me ?
i have added the folowing simple code at the end of the function amdtps_write_cback , in the file amdtps_main.c
uint8_t buf[4]={4,7,8,9};
amdtpsSendData(buf, 4);
return ATT_SUCCESS;´
the programm works , but i cannot findany result on the android device :\