SparkFun Forums 

Where electronics enthusiasts find answers.

Everything with the AmbiqSuite SDK tools and software are welcome here.
User avatar
By majd.shahin
#216940
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 ?
User avatar
By majd.shahin
#217058
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
Image
can you please help me ?
User avatar
By majd.shahin
#217061
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 :\
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum