Click here to Skip to main content
15,900,461 members
Home / Discussions / Linux Programming
   

Linux Programming

 
AnswerRe: Debugging "command" .... Pin
Richard MacCutchan30-Apr-23 21:16
mveRichard MacCutchan30-Apr-23 21:16 
QuestionMessage Closed Pin
30-Apr-23 7:36
Member 1496877130-Apr-23 7:36 
AnswerRe: Restructuring (Linux) device partitions Pin
Richard MacCutchan30-Apr-23 6:02
mveRichard MacCutchan30-Apr-23 6:02 
PraiseRe: Restructuring (Linux) device partitions Pin
Olif Oftimis5-Aug-23 14:27
Olif Oftimis5-Aug-23 14:27 
AnswerRe: Restructuring (Linux) device partitions Pin
Dave Kreskowiak30-Apr-23 6:20
mveDave Kreskowiak30-Apr-23 6:20 
PraiseRe: Restructuring (Linux) device partitions Pin
Olif Oftimis5-Aug-23 14:28
Olif Oftimis5-Aug-23 14:28 
QuestionMessage Closed Pin
22-Apr-23 15:04
Member 1496877122-Apr-23 15:04 
AnswerRe: adding virtual rfcomm - repost Pin
Richard MacCutchan22-Apr-23 21:12
mveRichard MacCutchan22-Apr-23 21:12 
QuestionMessage Closed Pin
2-Apr-23 10:46
Member 149687712-Apr-23 10:46 
AnswerRe: Please help me understanding Bluetooth "socket"usage ... Pin
Richard MacCutchan2-Apr-23 22:22
mveRichard MacCutchan2-Apr-23 22:22 
GeneralMessage Closed Pin
3-Apr-23 4:31
Member 149687713-Apr-23 4:31 
GeneralRe: Please help me understanding Bluetooth "socket"usage ... Pin
Richard MacCutchan3-Apr-23 4:40
mveRichard MacCutchan3-Apr-23 4:40 
AnswerRe: Please help me understanding Bluetooth "socket"usage ... Pin
Gerry Schmitz3-Apr-23 6:10
mveGerry Schmitz3-Apr-23 6:10 
AnswerRe: Please help me understanding Bluetooth "socket"usage ... Pin
jschell3-Apr-23 6:47
jschell3-Apr-23 6:47 
GeneralMessage Closed Pin
3-Apr-23 14:08
Member 149687713-Apr-23 14:08 
GeneralRe: Please help me understanding Bluetooth "socket"usage ... Pin
Richard MacCutchan3-Apr-23 21:49
mveRichard MacCutchan3-Apr-23 21:49 
GeneralRe: Please help me understanding Bluetooth "socket"usage ... Pin
jschell4-Apr-23 5:54
jschell4-Apr-23 5:54 
GeneralMessage Closed Pin
4-Apr-23 8:03
Member 149687714-Apr-23 8:03 
GeneralRe: Please help me understanding Bluetooth "socket"usage ... Pin
Richard MacCutchan4-Apr-23 22:26
mveRichard MacCutchan4-Apr-23 22:26 
You seem to be struggking with some basic concepts. A device_id is simply an identifier that is returned by the bluetooth driver in the kernel. The kernel code uses this id to acces a specific connection (socket etc.) between devices. So every time you call a library function, you pass it the device_id so the driver code knows which connection you are referring to. I use the analogy of a telphone number, if you pass your telephone number to your mobile service provider, it always knows where to send messages.

If you want to bypass the device_id and use a plain socket (which is conceptually the same thing as described above) then that is fine. But as we keep saying, that means you have to write the code to actually use the bluetooth protocol over the connection that the socket makes with a remote device. Also, Bluetooth does not replace RS232, it is a network protocol that uses the ISO/OSI model.


But ultimately all your questions are asking for more information than there is space for in a forum such as this. The only way to get a good understanding of what you are trying to do (which remains something of a mystery) is to do a lot of research. The internet has hundreds of papers that detail networking in general and the various specific protocols, so that is where you need to go.

The link I gave you three days ago gives some good details (although abridged) on this whole subject. I strongly advise you to study it carefully, as it answers at least most of your questions.
GeneralRe: Please help me understanding Bluetooth "socket"usage ... Pin
trønderen5-Apr-23 2:58
trønderen5-Apr-23 2:58 
GeneralRe: Please help me understanding Bluetooth "socket"usage ... Pin
Richard MacCutchan5-Apr-23 3:24
mveRichard MacCutchan5-Apr-23 3:24 
QuestionShrinking root partiton Pin
megaadam24-Jan-23 0:27
professionalmegaadam24-Jan-23 0:27 
AnswerRe: Shrinking root partiton Pin
k505424-Jan-23 5:53
mvek505424-Jan-23 5:53 
GeneralRe: Shrinking root partiton Pin
megaadam24-Jan-23 12:25
professionalmegaadam24-Jan-23 12:25 
AnswerRe: Shrinking root partiton Pin
megaadam26-Jan-23 2:14
professionalmegaadam26-Jan-23 2:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.