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.

CC2540能否同时作为客户端和服务器

Other Parts Discussed in Thread: CC2540

  大家好:
   最近正在使用CC2540和BLE4.0协议栈进行开发,在具体应用中,需要一个CC2540作为传感器,一个CC2540作为路由器,路由器能够直接与 Iphone4S进行通信,传感器不能直接与Iphone4s进行通信。
   在具体的应用中,我将传感器和Iphone4S作为外设(Peripheral),将路由器作为主机(central),请问在GATT层,我能否将路由器同时作为服务器和客户端?具体为相对于传感器,路由器是客户端;相对于Iphone4S,路由器是服务器。请问能否实现?
谢谢大家,请指教!