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.

pairing failure With PAN1315 and PC

Other Parts Discussed in Thread: CC2560, MSP430BT5190, MSP430F5438

We have the EXP430F5438 with the PAN1315ETU and with the accl.d43 application loaded as supplied in the SDK. It has been demonstrated to pair with another identical board.

We have assumed it can pair with a PC. There is a bluetooth Cirago USB dongle on the PC which appears to use a Toshibia stack. In the "Add New Connection Wizard" it finds the device "BlueMSP-DemoDCC2". then when one selects that device for connection the message "Detection of service failed" appears with no indication of what service failed.

It appeared that the demo program and stack at least supported the SPP profile which should be sufficient.

Should the demo program pair with a PC? if not, what needs to be done to the demo program so it will if that is possible?

  • Mark,

    You need to rename your Bluetooth Dongle to usethe name "BlueMSP-xxxx" where xxxx can be any random hexadecimal number. For example "BlueMSP-AF01".

     

    Gustavo

  • Gustavo,

    That did work. It seems counter intuitive that the name of the bluetooth device on the PC needs to match the board name in anyway, all other bluetooth devices seem not to care and the strength of bluetooth is that random devices can talk to each other

    For those of us who are a bit challenged in all the details of the bluetooth protocol, could you add some explanation concerning why this works?

  • Mark,

     

    This is not a BT stack limitation. Rather, to simplify the use of our demos and applications, we only connect to devices with those names. This filtering can be changed in your own application.

     

    Gustavo

  • Gustavo,

    I had looked at the source code and this was not clear.

    This brings up the "Big" question. I have not been able to find detailed documentation on the Mindtree Bluetooth stack that is used. Even the specifications that list the resources that it requires do not seem to be around. I am sure I am missing something that is posted. Does a full manual on the use of this stack exist and can we get it. Nothing was in the SDK that was downloaded to access the source and binaries and the Wikis do not seem to have this level of detail.

  • Mark,

     

    The best source on the Mindtree stack for the MSP430 is the:

    MSP430BT5190+CC2560 Developer's Guide

    http://processors.wiki.ti.com/images/d/d2/MSP430BT5190_CC2560_Developers_Guide.zip

     

    Gustavo

  • Gustavo,

    I am sure sure I saw this somewhere and then lost it. Thanks for the link. Even this does not make it very clear just what timers, and ports are absolutely required to make the stack work, it must be in there somewhere.

    A very minor point if you don't mind. This seems to imply that the display on the EXP430F5438 should be active. I have never seen it do anything with the biuetooth demo applications. With the demo application the MSP430F5438 chip came with, the display did work.

  • Mark,

    The accl application does not use the display. However, if you try the temp application provided, that one uses the display to setup the connection. They are different to demonstrate different features of the device.

     

    Gustavo