Part Number: CC2541
Other Parts Discussed in Thread: CC2540
Tool/software: TI C/C++ Compiler
Hello,
I am using cc2541 as central. I am facing these issue:
1-I am scanning devices, I have 6 cc2541 BLE and 1 BLE 4.2 Chip(Don't know chip number) in scanning result i found 6 (BLE cc2541) devices but unable to scan remaining BLE 4.2. How can i scan all devices?
2-I also want to connect another device. I am using this APIs. Is this correct way to save MAC address of other device and connect?
uint8 addrType;
uint8 *peerAddr;
peerAddr = "0x78DB2FD19591";
addrType = simpleBLEDevList[simpleBLEScanIdx].addrType;
simpleBLEState = BLE_STATE_CONNECTING;
GAPCentralRole_EstablishLink( DEFAULT_LINK_HIGH_DUTY_CYCLE,
DEFAULT_LINK_WHITE_LIST,
addrType, peerAddr );
Thank you

