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

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]