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.

HM10

Other Parts Discussed in Thread: CC2541, CC2650

Hi,

I am using HM10 module which has cc2541. I want to scan and pair it with cc2650 sensor tag. I gave AT+ROLE1, AT+IMME1,AT+DISC? but i am no getting any response from HM10 for AT+DISC?.

  • Hi,

    Since that's not our software, we are not able to help you solve the problem. You will have to ask the module vendor or google it.

    From the sensortag side, you can download Ti- sensortag app or LightBlue to see if sensortag is advertising and if it's connectable.
  • Hi,
    Sensor tag is advertising and its connectable from sensor tag app but I want it to accept connect request from other devices(like HM10 which has cc2541). I am sending connecting request to sensor tag from my mobile but its rejecting pairing request.
    Is it possible to connect and communicate with sensor tag from other devices without any app?
  • If you run SimpleBLECentral and set DEFAULT_DEV_DISC_BY_SVC_UUID to FALSE, SensorTag has no problem to connect to SimpleBLECentral.
  • I am sorry i didn't get you,i am new to this. I have only sensor tag now. Where do i get SimpleBLECentral code and where i have to set DEFAULT_DEV_DISC_BY_SVC_UUID to FALSE?
    Please guide us.
  • 1. If you download and install BLE Stack V1.4.1, SimpleBLECentral example is under C:\Texas Instruments\BLE-CC254x-1.4.1.43908\Projects\ble.
    2. You can open SimpleBLECentral project by IAR and change "#define DEFAULT_DEV_DISC_BY_SVC_UUID TRUE
    " to "#define DEFAULT_DEV_DISC_BY_SVC_UUID FALSE" in simpleBLECentral.c.
    3. Build and download SimpleBLECentral to SmartRF05EB+CC2541EM.
    4. Push Joystick UP to start device scan on SimpleBLECentral and turn on SensorTag. You should see SensorTag is listed on LCD of SmartRF05EB.
  • Hi,
    Sorry,i don't have SmartRF05EB to do it. I just have CC2650 TI sensor tag and HM10 which has CC2541.
    I want to get temperature and other sensor data of CC2650 TI sensor tag from HM10. To do so first i am initiating connection request from HM10 but sensor tag is not accepting it. And even i tried connection request from my mobile to TI sensor tag but its rejecting.
    Can you please tell us other than app can i make connection to CC2650 Senor tag from any of other devices like my mobile or HM10?
  • If you have a Android phone or iPhone, you can run SensorTag app to scan SensorTag.
  • I have sensortag app and its working.
    But my project requirement is i have to extract sensor data of sensor tag from any of BLE device and send it to our controller.
    I have chosen HM10 BLE to extract data from CC2650 Sensor tag.
    In that concept i am sending connection request from HM10 to CC2650 sensor tag but its not accepting.
    Can you give us any suggestion what might have gone wrong?
  • You can reprogram the HM10 with our example code if you have a CC debugger, which can be ordered from here :www.ti.com/.../cc-debugger
    There is one article I found telling you how to use CCDebugger on the HM10, so that you can change the image to TI software example.
    github.com/.../HM-10-Pinout

    Again, we don't know what image is preprogrammed into HM10, we can't do much about why it does not connect or response. If you can program to our example code, then we might have a idea what went wrong.