element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Wireless
  • Technologies
  • More
Wireless
Blog Creating a BLE wireless Serial Port
  • Blog
  • Forum
  • Documents
  • Polls
  • Quiz
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Wireless to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ndutton
  • Date Created: 13 Jan 2015 2:01 AM Date Created
  • Views 1057 views
  • Likes 1 like
  • Comments 0 comments
  • bluetooth
  • ble
  • networks
  • port
  • btle
  • ackme
  • serial
  • wireless
  • truconnect
  • modules
Related
Recommended

Creating a BLE wireless Serial Port

ndutton
ndutton
13 Jan 2015

TruConnect, an easy to use front end API and provides a wireless link between your device(s) and/or a PC or mobile device.

This application note demonstrates using a Bobcat module as a wireless serial port, streaming data in and out via the BLE wireless interface. The demonstration uses two Wahoo evaluation boards.

image

Features Demonstrated

  • Serial Interface Stream Mode
  • Advertising to other Bluetooth devices (adv command)
  • Scanning for other Bluetooth devices (scan command)
  • Connecting to another BLE device (con command)

Setting up the Modules

  • Plug each of the AMS001-E01 Wahoo boards into a separate USB port on a computer. The USB interface provides power and a serial UART connection to the board.
  • On both boards, the tri-colur LED blinks green when the boards are not connected.
  • Open a communication terminal application e.g. Teraterm
  • For each Wahoo board, open a separate terminal window:
    • Find the UART serial (COM) port associated with the board
    • Set the communication parameters to 115200 8N1 with NO hardware flow control
  • The Wahoo boards boot up as BLE peripherals with advertising turned on, in Stream Mode.We'll refer to the Wahoo boards as Wahoo A and Wahoo B:
    • Note that after a few minutes advertising turns off. See the adv command to turn advertising on if necessary.
    • See Serial Interface for a discussion of stream mode and command mode.
  • On Wahoo A, press Button 2 to switch to command mode. The terminal displays COMMAND_MODE.
  • On the Wahoo A terminal:
    • Press the Enter key and wait for a command prompt > and Ready
    • Enter the command scan high. Within a few seconds, TruConnect displays a list of ACKme BLE devices discovered.


> scan high
!  # RSSI BD_ADDR           Device Name
#  1  -89 4C:55:CC:10:07:e1 AMS-07E1


    • Enter the command con <index>, where <index> is the # number corresponding to the device in the devices listed by the scan results.


> con 1
Success


  • On both boards, the tri-colour LED lights continuously green when the boards are connected.
  • Now, on WahooA, either press Button 2 (or enter the str stream command into the Wahoo A terminal) to switch WahooA to Stream Mode. The terminal displays STREAM_MODE.
  • With both Wahoo boards in Stream Mode, characters you type on one terminal appear on the other terminal, transmitted from one board to the other wirelessly via the BLE connection.

image

For more information see: https://truconnect.ack.me

 

ACKme-logo.jpg

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube