Forums

Blutooth Stack(lwbt Stack)

Started by allen_cool March 27, 2014
Hello, 
I am new to bluetooth, I want bluetooth in my application to send data send
to mobile. I want a Bluetooth Stack which should be port on my
microntroller where my other application is runnning. I want to add this
lwbt stack on my application to send selected data to Particular Mobile
Device. My question is,

1. Is lwbt is platform dependent or independent. I am using stm32
controller, can this stack will port to this controller.

2. Any specific bluetooth module is required for this Stack or i can use
any module.

3.In what interface i can connect to blutooth module?UART or I2C.

I will be thankfull if you reply my question.

	   
					
---------------------------------------		
Posted through http://www.EmbeddedRelated.com
allen_cool wrote:

> Hello, > I am new to bluetooth, I want bluetooth in my application to send data > send to mobile. I want a Bluetooth Stack which should be port on my > microntroller where my other application is runnning. I want to add this > lwbt stack on my application to send selected data to Particular Mobile > Device. My question is, > > 1. Is lwbt is platform dependent or independent. I am using stm32 > controller, can this stack will port to this controller. > > 2. Any specific bluetooth module is required for this Stack or i can use > any module. > > 3.In what interface i can connect to blutooth module?UART or I2C. > > I will be thankfull if you reply my question.
lwBT is an open source light weight protocol stack and source code seems to be available on GitHub. It has been implemented on a few platforms but you may need to adapt it to yours. However, if you simply wish to communicate between your device and mobile phone then you can purchase small BT modules which presents the data to the embedded device as a serial RS232 style communication which can be spoken to by an terminal programme on your Android phone with SenaBTerm for example. If you need to send files you may have some work to do in implementing something like Kermit or YModem. Cheap modules for serial link are available from <http://www.ebay.co.uk/itm/Interface-Base-Board-Serial-Transceiver-Bluetooth-Module-HC-05-06-For-Arduino-UK-/281270898594> A bit of Googling will probably turn up alternative module styles and software options. -- ******************************************************************** Paul E. Bennett IEng MIET.....<email://Paul_E.Bennett@topmail.co.uk> Forth based HIDECS Consultancy.............<http://www.hidecs.co.uk> Mob: +44 (0)7811-639972 Tel: +44 (0)1235-510979 Going Forth Safely ..... EBA. www.electric-boat-association.org.uk.. ********************************************************************
On 3/28/2014 6:16 AM, Paul E Bennett wrote:
> allen_cool wrote: > >> Hello, >> I am new to bluetooth, I want bluetooth in my application to send data >> send to mobile. I want a Bluetooth Stack which should be port on my >> microntroller where my other application is runnning. I want to add this >> lwbt stack on my application to send selected data to Particular Mobile >> Device. My question is, >> >> 1. Is lwbt is platform dependent or independent. I am using stm32 >> controller, can this stack will port to this controller. >> >> 2. Any specific bluetooth module is required for this Stack or i can use >> any module. >> >> 3.In what interface i can connect to blutooth module?UART or I2C. >> >> I will be thankfull if you reply my question.
I also have followed this project. First, this project has not been updated for aver 5 years. 2nd, The original author stopped work on this project because of problems with BlueTooth SIG. If you going to use this with a hobby project it may or may not work for you. If you going to try to build a product with this code, there may be dragons here.
> > lwBT is an open source light weight protocol stack and source code seems to > be available on GitHub. It has been implemented on a few platforms but you > may need to adapt it to yours. > > However, if you simply wish to communicate between your device and mobile > phone then you can purchase small BT modules which presents the data to the > embedded device as a serial RS232 style communication which can be spoken to > by an terminal programme on your Android phone with SenaBTerm for example. > If you need to send files you may have some work to do in implementing > something like Kermit or YModem. > > Cheap modules for serial link are available from > <http://www.ebay.co.uk/itm/Interface-Base-Board-Serial-Transceiver-Bluetooth-Module-HC-05-06-For-Arduino-UK-/281270898594> > > A bit of Googling will probably turn up alternative module styles and > software options. >