BX3105 Sample code for BLE

Hi,

I have BX3105 module and I found software document for all the AT commands with respect to BLE and WIFI.Now I am trying to develop the application using BLE AT commands.Is there any sample code for this please can anyone suggest how to do this

Regards
Nitish

  1. Download Android application “Melody smart” on Android phone
  2. Set device to start advertising by AT+SRBLEADV=1
  3. Connect to the device from phone
  4. when receive data from phone, you will see +SRBCSMARTRECV: 1,0,“111” on BX31 module
  5. Send data to phone by AT+SRBCSMARTSEND=1,0,“123”
  6. Start remote control from phone by AT+SRREMCTRL=1
  7. in the android application, click “remote commands”, you can now send AT command from phone to control module
    e.g. AT+SRWSTASCN to scan wifi access point

Thanks for replaying,
Please Can you provide sample example code for BX3105 which includes advertising packets also.

Regards,
Nitish

Didn’t “AT+SRBLEADV=1” is for advertising ?

Hi jyijyi,
I bought a BX3100 that I wanted to configure the WiFi to transmit continuously a pseudo-random sequence at a selected power level and selected channel. Same thing for the Bluetooth. Do you knows what are the AT commands and/or the manipulations/update to do? Thanks in advance

I don’t see ant AT command in the guide can have such usage.

Thank you for taking time to reply. Appreciate

Hi jyijyi,
Maybe you can help. I did what you suggested above to nitishvl, it worked. I’m using TeraTerm. Do you know a way to send data continuously? Thank you

you can write a teraterm marco .

Thank you jyijyi…

hello @nitishvl ,
can u please give me a link to AT Commands document for BLEand WIFI for BX3105 and haw can i find the driver for the BX3105 dev kit for windows

Hi @achref.daabek,

You can refer BLE and WIFI command in this AT document: AirPrime - BX310x - AT Command Reference - R7.0.pdf (3.7 MB) .
The main interface for the BX310x is a UART so you would just use the standard CDC-ACM driver, so I think you may not need to install driver and for sure please recheck when source.sierrawireless page is back.

Thanks,

Hi @jerdung,
thank you for your reply but I can’t connect my BX3105 dev kit to my laptop and I can’t find the CDC-ACM driver.
err rs

Hi @achref.daabek,

I have just tried connecting my BX3105 dev kit to my PC. Below are the picture captured before and after installing driver:



This is the driver on my local PC: CDM20828_Setup.zip (1.8 MB) .
However, please download this driver on source.sierrawireless page when it is back online.

Please help to tick “Solution” if your question is answered.

Thanks,

hi @jerdung ,
after installing the drive a connect to my bx3105 dev kit with putty but, I can’t send an AT commander to get started, however, I tested also with Hercules and I get the same problem I don’t know how to start with my dev kit. err

Hi @achref.daabek

From the your pictures provided, with hercules tool, it’s seem you press “Send” button only to send command. After that, you must press enter on keyboard after press ‘Send’ button to send the command to device.
With hercules, you can type AT command directly to “Received/Sent data” screen after clicked left mouse on it and then press Enter on keyboard to send.
With Putty, it’s not display echo when type AT command, so it’s so hard to observe. I recommend to use hercules for BX3105.

Thanks,

hi @jerdung,
I know how to use Hercules, but after pressing enter button there is no action wish is so weird, that’s why I asked for help if I missing anything. Only the reset button show this log but when i passed AT+RST and press enter nothing happen.

Hi @achref.daabek

With hercules, I can reproduce your issue, it may come from the hercules’s setting.

You can try to check setting on it follow below step:

  1. Right mouse click on “Received/Sent data” screen.
  2. Select “Transmit EOL” and check the “CR(Mac)” option.
    If this option was’n selected. Please choose this option and then try send AT command again.

Thanks,

1 Like

Hi @jerdung,
Thank you for your time you helped me a lot, but can you help me to create a simple application that detect the presence of a person using BLE connection between my iPhone and BX3105 dev kit .

Hi @achref.daabek

Can you please create another topic for this request? It will help other for searching the issues and topics better :slightly_smiling_face:

Thanks,