This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何编写Host程序(基于cc2540)

Other Parts Discussed in Thread: CC2540

hi,

 我想编写一个host和controller分离的程序(二者运行在不同的芯片上)。

BLE协议栈提供的demo程序只有运行在CC2540上的程序,那么,如何编写host上的程序呢?

我读了文档TI_BLE_Vendor_Specific_HCI_Guide.pdf,对这种编程的框架有了一点了解,但是细节方面还有很多疑问。

1)profile需要自己管理吗?
       这些函数(例如GATTServApp_RegisterService)还能调用吗?
       如果能的话,怎么调用?
      如果不能的话,我还需要用gattAttribute_t这种方式管理我的数据吗?