Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect do fresh flashed device ? #19

Open
0xFACE opened this issue Oct 30, 2015 · 7 comments
Open

How to connect do fresh flashed device ? #19

0xFACE opened this issue Oct 30, 2015 · 7 comments

Comments

@0xFACE
Copy link

0xFACE commented Oct 30, 2015

Hello, I successfully flashed BLE HM-10 module with BlueBasic-CC2541.hex file.
But now I don't how to connect.
I tried to scan for the BLE devices, but HM-10 module is not advertising any more.
Is it ok ? Can I use RX/TX pins to connect console?

Unfortunately I don't have IOS/ OSX device to use the BlueBasicConsole from your repo.

@0x2b3bfa0
Copy link

I have the same problem with a counterfeit non-original HM-10. Also there is a closed issue with the same problem: #10

@0xFACE
Copy link
Author

0xFACE commented Nov 11, 2015

Tanks for the comment. I flashed another HM-11 module (smaller HM-10 version).
It's advertising with "BASIC#7F" name. Now I can connect it with my phone and browse services.
So, it seems to be hardware issue with non-original HM-10 module (at first look one XTAL is missing comparing pictures).

But still can't run any BASIC program. What console to use for non IOS/ OSX OS'es ?

@0x2b3bfa0
Copy link

@0xFACE: In theory you could use one of these apps on Android (untested because I only have a non-original one):

MSMBLE
B-BLE
BLE Scanner
Bluetooth LE Scanner

@0x2b3bfa0
Copy link

@aanon4 (the main culprit ;-): Do you switch to the missing XTAL once the program begins? I can't figure out why the non-original HM-10 does extrange things... It starts advertising on power-up or reset and then stops/crashes... Could you test one of these?

@0xFACE
Copy link
Author

0xFACE commented Nov 23, 2015

@crushedice2000
Yes, I can connect with these apps. But to write basic code I have to know which service(s) to use and how.

@0x2b3bfa0
Copy link

@0xFACE: There is a list of services. You can try them. However MSMBLE highlights in green/yellow the correct service.

@0xFACE
Copy link
Author

0xFACE commented Dec 20, 2015

I didn't find any working software for Android, so I wrote small script to upload basic file from Linux:
https://github.com/0xFACE/BlueBasic-loader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants