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.

Help on AT codes for PIN

Other Parts Discussed in Thread: CC2560, CC2540

Welcome

For the first time I use CC2560 BLE module, already acquainted with most AT codes but can not find a code enabling the BLE PIN configurations.

Is the CC2560 does not have a PIN?

If he has it that AT command you can configure it?

Thanks in advance for your answers

Greetings

I apologize for the language I use google translator

  • Hi Tomasz,

    Can you please confirm the module again? The CC256x is a dual mode bluetooth controller.
    Just wanted to make sure you were referring to the same device.

    The PIN exchange mechanism is as per the Bluetooth Specification (www.bluetooth.org)

    Regards,
    Gigi Joseph.
  • As for the PIN that must be entered when combined, eg. With urządzaniami mobile "smartphone". Because in Case iOS CC2560 BLE module connects without a PIN code in the case of Android not want to connect without a PIN. He wants to set up an individual PIN code for BLE module.
  • Hi,

    You can take a look at "LEPassKeyResponse" in one of the sample apps.
    The sample apps can be downloaded from: www.ti.com/.../tibluetoothstack-sdk

    Regards,
    Gigi Joseph.
  • Hi,

    unfortunately I did not find the answer there
    he had been using ATP= ; ATP=? I also found AT+CPIN but not today :(
    I have 21 active codes AT but there is no PIN configuration code :(

    AT Command List

    1. "AT+FSM" change the working mode
    2. "AT+ROLE" change the CENTRAL-PERIPHERAL configuration
    3. "AT+MIN_INTERVAL" change the minimum connection interval
    4. "AT+MAX_INTERVAL" change the maximum connection interval
    5. "AT+UART" change the baud rate of UART
    6. "AT+BIND" bind another BLE chip. BLE can only connect to the BLE chip with this MAC address
    7. "AT+CMODE" set whether the connection of BLE is binding or arbitrary
    8. "AT+MAC" Request MAC address
    9. "AT+NAME" Set the name
    10. "AT+RESTART" restart the BLE
    11. "AT+SETTING" change the default setting (new in BLE firmware 1.6)
    12. "AT+BLUNODEBUG" When Bluetooth is connected and BLE chip(CC2540) received the UART message from MCU(ATMEGA328), send the UART message not only to the Bluetooth, but also to the USB port. So that when Bluetooth is connected, we can use the serial monitor to get the UART message. (new in BLE firmware 1.6)
    13. "AT+USBDEBUG" When Bluetooth is connected and BLE chip(CC2540) received the Bluetooth message from IOS or Android device, send the data not only to the UART, but also to the USB port. So that when Bluetooth is connected, we can use the serial monitor to directly get the Bluetooth message. (new in BLE firmware 1.6)
    14. "AT+TXPOWER" Change the Transmitted Power. (new in BLE firmware 1.6)
    15. "AT+IBEACONS" Enable the iBeacons feature(new in BLE firmware 1.6)
    16. "AT+VERSION" the version of the firmware(new in BLE firmware 1.6)
    17. "AT+RSSI" Request the RSSI of the BLE (new in BLE firmware 1.6)
    18. "AT+MAJOR" Set the major number of the iBeacons (new in BLE firmware 1.6)
    19. "AT+MINOR" Set the minor number of the iBeacons (new in BLE firmware 1.6)
    20. "AT+PASSWORD" Set and check the AT command password (new in BLE firmware 1.7 ),
    21. "AT+EXIT" Exit the AT Command Mode (new in BLE firmware 1.8 ),


    Can anyone knows how AT code enables you to set the PIN?
  • Hi Tomasz,

    I think you are in the wrong forum.
    From the "AT Command List", it appears to me that you are using "CC2540". Is that correct?

    If so, can you please post a new thread on "Bluetooth Low Energy Forum" - e2e.ti.com/.../538 ?

    Regards,
    Gigi Joseph.
  • Hi,

    try, thank you