Click here to Skip to main content
15,349,126 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
PinnedHOW TO ANSWER A QUESTION Pin
Chris Maunder16-Jul-09 3:09
cofounderChris Maunder16-Jul-09 3:09 
PinnedHow to get an answer to your question Pin
Chris Maunder16-Jul-09 3:05
cofounderChris Maunder16-Jul-09 3:05 
Questionrobotic arm way of functioning Pin
CalinNegru5-Jun-22 6:14
MemberCalinNegru5-Jun-22 6:14 
QuestionCD playback Pin
CalinNegru3-May-22 2:44
MemberCalinNegru3-May-22 2:44 
AnswerRe: CD playback Pin
CHill603-May-22 2:50
mveCHill603-May-22 2:50 
Questionbluetooth pairing ? Pin
Member 149687712-May-22 15:54
MemberMember 149687712-May-22 15:54 
Questionhow to activate new USB "Flash drive " in Linux ? Pin
Member 1496877126-Apr-22 5:21
MemberMember 1496877126-Apr-22 5:21 
AnswerRe: how to activate new USB "Flash drive " in Linux ? Pin
Sobha Royal Crest26-May-22 2:45
MemberSobha Royal Crest26-May-22 2:45 
QuestionBluetooth - device and service difference ? Pin
Member 1496877123-Apr-22 12:26
MemberMember 1496877123-Apr-22 12:26 
Questionmicrocontrollers, car electronics frame Pin
CalinNegru10-Apr-22 4:43
MemberCalinNegru10-Apr-22 4:43 
AnswerRe: microcontrollers, car electronics frame Pin
trønderen10-Apr-22 14:34
Membertrønderen10-Apr-22 14:34 
Questionhow to SIMPLY remove inactive RAID ? Pin
Member 149687713-Apr-22 19:45
MemberMember 149687713-Apr-22 19:45 
AnswerRe: how to SIMPLY remove inactive RAID ? Pin
Dave Kreskowiak4-Apr-22 4:46
mveDave Kreskowiak4-Apr-22 4:46 
GeneralRe: how to SIMPLY remove inactive RAID ? Pin
Member 149687715-Apr-22 6:14
MemberMember 149687715-Apr-22 6:14 
GeneralRe: how to SIMPLY remove inactive RAID ? Pin
Richard MacCutchan5-Apr-22 6:33
mveRichard MacCutchan5-Apr-22 6:33 
Questionhow to get grub to load "last selected OS"? Pin
Member 149687712-Apr-22 7:52
MemberMember 149687712-Apr-22 7:52 
AnswerRe: how to get grub to load "last selected OS"? Pin
Richard MacCutchan2-Apr-22 21:23
mveRichard MacCutchan2-Apr-22 21:23 
GeneralRe: how to get grub to load "last selected OS"? Pin
Member 149687713-Apr-22 3:01
MemberMember 149687713-Apr-22 3:01 
GeneralRe: how to get grub to load "last selected OS"? Pin
Richard MacCutchan3-Apr-22 3:06
mveRichard MacCutchan3-Apr-22 3:06 
GeneralRe: how to get grub to load "last selected OS"? Pin
Richard MacCutchan3-Apr-22 21:25
mveRichard MacCutchan3-Apr-22 21:25 
GeneralRe: how to get grub to load "last selected OS"? Pin
Member 1496877120-Apr-22 5:57
MemberMember 1496877120-Apr-22 5:57 
GeneralRe: how to get grub to load "last selected OS"? Pin
Richard MacCutchan20-Apr-22 6:06
mveRichard MacCutchan20-Apr-22 6:06 
GeneralRe: how to get grub to load "last selected OS"? Pin
Member 1496877120-Apr-22 8:12
MemberMember 1496877120-Apr-22 8:12 
GeneralRe: how to get grub to load "last selected OS"? Pin
Richard MacCutchan20-Apr-22 8:30
mveRichard MacCutchan20-Apr-22 8:30 
Questionhci_get_route and hci_open_dev - few questions Pin
Member 1496877128-Mar-22 15:56
MemberMember 1496877128-Mar-22 15:56 
1. can hci_get_route return anything but 0 or -1 (error) ?
2. does hci_open_dev returns
"socket" or
"device descriptor" ?
3. as coded in an example
can hci_open_dev return 0?


/* get the id of the first bluetooth device. */
  device_id = hci_get_route(NULL);
  if (device_id < 0) {
      perror("hci_get_route");
      return 0;
  }

  /* create a socket to the device */
  device_sock = hci_open_dev(device_id);
  if (device_sock < 0) {
      perror("hci_open_dev");
      return 0;
  }

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.