Home > Mobile >  Want to ask questions about the bluetooth data transmission
Want to ask questions about the bluetooth data transmission

Time:10-11

Recently doing a test project, need from the android end to the microcontroller through bluetooth transmission image of some relevant parameters, single-chip microcomputer has a bluetooth module, mainactivity implementation inside the phone camera detection and recognition, now I need to detect the related parameters via bluetooth transmission out, can you tell me the specific to achieve? Don't know much about on android development, the bluetooth module is not understand, please bosses to give directions on the as need to do operation

CodePudding user response:

Connection, and then it is ok to send data, we points out first is a traditional bluetooth or a ble

CodePudding user response:

reference 1st floor qq_27348201 response:
connection, then it is ok to send data, we points out first is the traditional bluetooth or ble
bluetooth hc05 is traditional or ble, ask before write data code is must write is similar to that of the interface on the debugging assistants, such as the display list, links and send button

CodePudding user response:

refer to the second floor weixin_43199812 response:
Quote: refer to 1st floor qq_27348201 response:
connection, then it is ok to send data, we points out first is the traditional bluetooth or ble
bluetooth hc05 is traditional or ble, ask before write data code is must write is similar to that of the interface on the debugging assistants, such as display list, links and send button

That see you need, if you only require to send data don't write interface can also, if you want to display data that is about to write the process of the interface

CodePudding user response:

I see other posts of bluetooth module adapted these are all very full, I only need to send two coordinates data, on the basis of I've already finished my test, write to send data part, I need to do is to write a connection function and the function of sending, adapter if these can be skipped

CodePudding user response:

Yes,,,,,,,,,,,

CodePudding user response:

reference 5 floor qq_27348201 reply:
yes,,,,,,,,,,,
I wrote a connection button a send button, the connection would flash back, bluetooth module or flash state, eldest brother can help me what is going wrong, please look at the code

CodePudding user response:

refer to 6th floor weixin_43199812 response:
Quote: refer to the 5 floor qq_27348201 response:
yes,,,,,,,,,,,
I wrote a connection button a send button, the connection would flash back, bluetooth module or flash state, eldest brother can help me what is going wrong, please look at the code

You add my QQ: 3343409513

CodePudding user response:

refer to 7th floor qq_27348201 response:
Quote: refer to the sixth floor weixin_43199812 response:
Quote: refer to the fifth floor qq_27348201 reply:
yes,,,,,,,,,,,
I wrote send a link button of a button, a connection is flash back, bluetooth module or flash state, eldest brother can help me what is going wrong, please look at the code

You add my QQ: 3343409513
added
  • Related