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.

PAN1720 Module (Loaded with TI stack) detected in Android mobile but not able to Pair.

Other Parts Discussed in Thread: CC2540, BLE-STACK

Hi all,

We are new to the PAN1720 / Bluetooth.

Our Main objective is

1. We have the combination of Microcontroller and PAN1720 in our board. We need to get paired with any Android or iOS Phones and get commands/messages from phones which in turn send to microcontroller through UART.

We need to control the PAN1720 using external MCU through UART0. (P0.2 and P0.3) with RTS/CTS optional.

When we downloaded the SimpleBLE Peripheral, we can able to detect the CC2540 in my Android Phone. But when I try to pair the device, first it asking for Passcode and we typed 000000 (After seeing the code we found "000000") it tries to pair but it rejects. Then after simultaneous retry from phone CC2540 wont respond for any instances.

After that we changes the HOSTAPP code, device itself not discovered in my Phone. I changed the USB configuration (CC2540USB to CC2540EM) to UART DMA config and connect theBtool through PC. But no response for first command itself (GAP Init).

 Kindly let me know how to sort out this issue..

Thanks

  • Hello,

    I would suggest going through the SimpleBLEPeripheral example documentation for Pairing in the SW Developer's Guide, which is included in the BLE-Stack v1.4.1 SDK. You can use the CC Debugger to check the state of the pairing callbacks. I would also suggest using a BLE packet sniffer to confirm any protocol issues.

    Next you can reference the UART BLE Bridge SW example on the TI BLE Wiki.

    Best wishes
  • Dear JXS,

    Thanks for your response.

    Actually we have problem in hardware. TX and Rx pins not working in that module.

    While we changed the Module, it works fine.

    Now we are trying to modify the SimpleBLE firmware to get data from the Mobile.

    Thanks for your inputs.