• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF Bluetooth® Low Energy & ANT Forum » Linux BLE scripts
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Linux BLE scripts

This question is answered
kazola
Posted by kazola
on Oct 28 2011 03:53 AM
Guru10665 points

Hi,

at the wiki:

      http://processors.wiki.ti.com/index.php/Category:BluetoothLE

We can already find two python scripts which will ease minor TI's BLE solution tests under this operative system. The links are:

      http://processors.wiki.ti.com/index.php/Category:LinuxHostTest

      http://processors.wiki.ti.com/index.php/Category:LinuxHostTest2

Thanks to everybody who has helped to this little experiment.

 



Please click the     Verify Answer     button on a post if it answers your question! :)

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Joao Bastos
    Posted by Joao Bastos
    on Feb 09 2012 09:57 AM
    Verified Answer
    Verified by kazola
    Prodigy80 points

    Hi,

    Im testing an aproach to the comunication with the cc2540, with the keyfob exactly (Mini Dev Kit), using python. The scripts in those links are fantastic, I really want to thank the developper for publishing them. I succeeded with the first script, however, I cannot get the LinuxHostTest2 to work.

    I have flashed the hosTestRealease on the dongle and the SimplePeripheral to the keyfob

    I can discover and connect to the device but I cannot receive data, and if I try to activate all the notifications the program crashes and write on console:

    "WHAT!?! SHOULDNT HAPPEN!!!!"

    I believe I am using the wrong profile on the KeyFob, that was not intended to be used with this script.

    I want to make my own python script but first I wanted to see it works well, so if you could help me it would be great.

    Thank you in advance,

    João Bastos

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • kazola
    Posted by kazola
    on Feb 09 2012 12:18 PM
    Verified Answer
    Verified by kazola
    Guru10665 points

    Hi,

    I developed the first script and got in touch with the author of the second one. Unfortunately, I think the second one does not work nowadays but just because of the change in the handles TI applied some time ago. Check this link for related info:

    http://e2e.ti.com/support/low_power_rf/f/538/t/134385.aspx

    And please feel free to upload an updated version of the second script if you succeed! :)



    Please click the     Verify Answer     button on a post if it answers your question! :)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joao Bastos
    Posted by Joao Bastos
    on Feb 10 2012 07:05 AM
    Verified Answer
    Verified by kazola
    Prodigy80 points

    Yes, you were right. The problem is simply a wrong handle number for the Accelerometer Enable. Its easily fixed by changing the Handle value in the BTDevices.py, activateAccelerometer function, from \x21\x00 to \x33\x00.

    I will upload this modified version to my files, in my TI account. I don't know where is the correct place to upload this, or if it would be enough just to add a note on the wiki page explaining this. What do you think is best?

    Best Regards,

    João Bastos

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • kazola
    Posted by kazola
    on Feb 10 2012 09:18 AM
    Verified Answer
    Verified by Anonymous
    Guru10665 points

    Wow! Is it really THAT easy?

    I did not wanted to change the code of another person but I do not think it is wrong to do a single modification... argh.

    See you in 10 minutes.

    PS: Everybody, the change has already been applied. If there are new modifications to be made, do not hesitate posting here. Bye!



    Please click the     Verify Answer     button on a post if it answers your question! :)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • abraham carter
    Posted by abraham carter
    on Feb 20 2012 16:44 PM
    Prodigy15 points

    looking for some help with this keyfob dev kit. had some questions for you. not sure how to send you a PM. please message me: abraham.carter@gmail.com

    thanks in advance

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • kazola
    Posted by kazola
    on Feb 20 2012 16:50 PM
    Guru10665 points

    Hi Abraham,

    I am not a TI member and this is not my job so I do this for fun. I do not accept private messages, since I cannot guarantee I can help. I just try to.

    So post around the forum and we'll try our best. TI guys are much better prepared than me.

    Bye! :)



    Please click the     Verify Answer     button on a post if it answers your question! :)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • senthil kumar69729
    Posted by senthil kumar69729
    on Sep 05 2012 02:11 AM
    Expert1075 points

    Hi Abraham,

    Kindly add me as your friend in Ti.E2E forum and when ever you are posting queries , send a notification to me so that i can help you ,if i can.

    Nice Day,

    Senthil

    NiceDay,

    Senthil

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use