guser210 / BlueTooth

3 stars 0 forks source link

Program Stuck during gatt_init #1

Open Hakeem2512 opened 2 years ago

Hakeem2512 commented 2 years ago

Hello @guser210 ,

I am pretty new to the bluenrg development on emb1061, i have followed most of the available template online, including caleb template, but my program seems to be getting stuck during the gatt_init function, currently my guess is that it is due to the version of the DK am using, can you please tell me what version of Bluenrg_dk are you using or if you have any other suggestion, that will be great. thanks

guser210 commented 2 years ago

Hi Hakeem, yeah I am using BlueNRG12 here is the link to download https://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-bluenrg1-dk.html however, I think you may have an issue with defining your data size since the size depends on the number of services, characteristics and the length of packets, length of the name... ect , I have a couple of videos on you tube that take you from scratch to a complete working version but if you need assistance you can message me here https://discord.gg/ngnV5Xe5WN it will be easier for me to communicate also I am currently on vacation and will be for few weeks, but I can definitely help you when I get back. below are the links of the three videos on firmware development for the EMB1061 in the order they were uploaded. and let me add that MicroVision does have a free license to develop for this chip(STM32G0) you wont have to do workarounds to get working on VSCode.

https://youtu.be/8P7BjkuCsZQ https://youtu.be/gJwCxWHNqKE https://youtu.be/KwCN4BfbMF8

Hakeem2512 commented 2 years ago

@guser210 thanks so much for your reply, I will try this out and get back to you.