Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

jana_hus

@jana_hus
About
Posts
55
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • not a programming post - how do I navigate / clone from this site ?
    J jana_hus

    I am exploring "voice to text" technology and found this as most recent link. I have no clue how to navigate the site to get info / source / link so I can clone the source code. I did not see any need for sign in or log in.... Help would be greatly appreciated. Thanks. codereview.qt-project Code Review - qt/qtspeech.git/summary[^]

    The Lounge question collaboration help tutorial code-review

  • hci_inquiry timeout is wrong
    J jana_hus

    I have an issue with my usage of hci_inquiry function. When no devices are detected ,that is another issue I have but I need to fix this one first, it does not timeout as expected by "len" parameter value. The "elapsed time " is random , most of the time around 7s. When devices are actually detected the "elapsed time" is pretty much as expected, the function does work. I realize when no devices are detected is more important than how long it took to run, but I feel it should follow the "len" parameter. Would appreciate help or suggestion what else I can do to verify the function(s) time/ timeout when no devices are detected, Thanks

    len = 16; // 1.28 * len seconds timer max_rsp = 255;
    flags = IREQ_CACHE_FLUSH; //always real scan
    ii = (inquiry_info*)malloc(max_rsp * sizeof(inquiry_info));
    QET->start(); // debug restart timer

        num\_rsp = hci\_inquiry(dev\_id, len, max\_rsp, NULL, &ii, flags);
    
        text = "\\nTASK  elapsed time...\\n ";
        text += "num\_rsp = hci\_inquiry(d....";
        //text += Q\_FUNC\_INFO;
        text += "  @ line  ";
        text += QString::number(\_\_LINE\_\_);
        text += "\\nElapsed time \\t";
        text += QString::number(QET->elapsed());
        text += " mS ";
        m\_ui->textEdit\_29->append(text);
        qDebug().noquote() << text;
        text = "\\nnum\_rsp = hci\_inquiry(dev\_id, len, max\_rsp, NULL, &ii, flags) \\t";
        text += QString::number(num\_rsp);
        m\_ui->textEdit\_29->append(text);
        qDebug().noquote() << text;
    
    Linux Programming help debugging lounge

  • How to assign rfcomm ?
    J jana_hus

    Thank you. At present it is little overkill for my task using only one serial to Bluetooth connection. Eventually I will have multiple network connections...

    Linux Programming linux help tutorial question

  • How to assign rfcomm ?
    J jana_hus

    I have found that relaying on responses / return values of SOME Linux commands is not necessary. Usually there are other commands where the result of the first command can be found, hence verified. For example "ln -v /dev/ttyUSB0 /dev/rfcomm0" result can be verified using "ls /dev/rf*"

    Linux Programming linux help tutorial question

  • How to assign rfcomm ?
    J jana_hus

    Thank you for the reply. I am not sure HOW to reply without offending, however, I have specifically asked for assistance in analyzing the posted commands. I need to keep this short, my new OS does not do spell check... However - the second usage of "ln" failed because the /dev/rfcomm0 WAS already build....

    Linux Programming linux help tutorial question

  • How to assign rfcomm ?
    J jana_hus

    Hello This is a follow-up on my previous post about “ln” commend. I am trying to link “dev/ttytUSB0” with “dev/rfcomm0”. I am doing something wrong and obviously not doing it in correct sequence or using Linux commands wrong. . I am using “ln” and “rfcomm” and get no response from both “ln” and “rfcomm”; nov5-6@nov56-desktop:~$ sudo ln /dev/ttyUSB0 /dev/rfcomm0 [sudo] password for nov5-6: nov5-6@nov56-desktop:~$ rfcomm –a nov5-6@nov56-desktop:~$ \ When I run “ln” again I get this: \nov5-6@nov56-desktop:~$ sudo ln -v /dev/ttyUSB0 /dev/rfcomm0 [sudo] password for nov5-6: ln: failed to create hard link '/dev/rfcomm0': File exists nov5-6@nov56-desktop:~$ If I use “rfcomm” it still returns nothing. nov5-6@nov56-desktop:~$ rfcomm –a nov5-6@nov56-desktop:~$ \ I am obviously missing something and I am asking the group for a solution. Thanks, any help with solving thius will be much appreciated

    Linux Programming linux help tutorial question

  • help me to understand "rfcomm" symbol "->"
    J jana_hus

    PLEASE suggest alternative approach.

    Linux Programming help question

  • help me to understand "rfcomm" symbol "->"
    J jana_hus

    Thanks, it is getting more "convoluted"... Allow me to start over. The task is to "send (serial) data to /dev/ttyUSB0 and pass the same data to /dev/rfcomm0 ". Calling "/dev/ttyUSB0 " a node or device SHOULD be "technicality" - the task is still the same. However, the "link" option - "symbolic" or "hard /[physical " SHOULD make a difference as far as the task goes. My , probably incorrect, interpretation is: "symbolic" still accomplishes the task, but introduces another "intermediate process" - "pointer" etc. "hard / physical " accomplishes the task directly I do appreciate this discussion, very much, thank you.

    Linux Programming help question

  • help me to understand "rfcomm" symbol "->"
    J jana_hus

    Thanks, would it make more sense , more generic, to say "data sent to device on the LEFT will get passed to device on the RIGHT" of the "->" (symbol ) ? Now for the follow-up question - more (confusing_) Linux terminology. physical, hard , symbolic ?? hence " which way's up " ? what would be the purpose of "symbolic" link ? if there is no -s option , is the link "hard" ? is "hard" == "physical" ?

       -P, --physical
              make hard links directly to symbolic links
    
    
       -s, --symbolic
              make symbolic links instead of hard links
    

    Cheers

    Linux Programming help question

  • help me to understand "rfcomm" symbol "->"
    J jana_hus

    I do not get the symbol "->" . I am trying to have serial port "ttyUSB0 " linked with rfcomm0. Which command is correct ?

    nov25-1@nov251-desktop:~$ sudo ln -s -v /dev/ttyUSB0 /dev/rfcomm0
    [sudo] password for nov25-1:
    '/dev/rfcomm0' -> '/dev/ttyUSB0'
    nov25-1@nov251-desktop:~$ sudo ln -s -v /dev/rfcomm0 /dev/ttyUSB0
    '/dev/ttyUSB0' -> '/dev/rfcomm0'
    nov25-1@nov251-desktop:~$

    Linux Programming help question

  • Ubuntu recovery option - opinions wanted.
    J jana_hus

    I am not sure how this relates to OP. But thanks anyway.

    The Lounge linux tutorial com discussion announcement

  • Ubuntu recovery option - opinions wanted.
    J jana_hus

    Thanks for the reply, appreciate that. Unfortunately that is not what I am asking. You did describe the recovery options, I am asking what to do when ANY of these options STOPS posting "progress messages". There is one and it is pretty clear ...to continue ... press... ...to stop... press "enter" Some messages get stopped in ...timed out... doing whatever Anyway - I need to find a way to convert these messages to text and post them here...

    The Lounge linux tutorial com discussion announcement

  • Ubuntu recovery option - opinions wanted.
    J jana_hus

    After unpleasant experience win "new and improved" version of Ubuntu, I am back "experimenting" with Linux / Ubuntu recovery mode. So far I have this link Mastering Recovery and Rescue Mode in Ubuntu | FOSS Linux[^] It tells nothing new, and I am looking for a resource actually describing what Linux does when in "recovery mode". Especially when the process stops and there in no instruction on how to proceed / restart. Most of the time I end with "three fingers salute" and it generally reboots and I can start over. I have some shots of the failures, unfortunately I have no clue how to post them here. I am familiar using dmesg and wondering if there is way to do same when the "recovery mode" is abandoned using reboot. Thanks for reading.

    The Lounge linux tutorial com discussion announcement

  • ...it is your fault ... (vent / rant )
    J jana_hus

    I hope this group can find it in their harts to forgive me for posting this here... but I need to vent... I run into a BIG ( for me ) issue so I asked "customer service " for SOLUTION. I received a (AI?) message saying the issue has been solved, (please) post "how we did ". The message did not say anything about the actual "solution". So I checked the "bug post " and it contains this "solution ": Everyone should be responsible for their behavior, even on internet. As workaround, you can create another account, start a new life on internet. So - it i obviously my fault and I need to "get a new one ".... It does not count I told them I cannot update my code using new account... I am locked by their security to the original. NO, I am not complaining, it would not make beans if I did. I am just curious how the outfit expect to stay in business with such "friendly customer attitude".. PS They certainly lost my business, and obviously do not care. Thanks for watching... Cheers

    The Lounge help security business sales question

  • SUGGESTION put " do not reply Google it " back to rules
    J jana_hus

    SUGGESTION put " do not reply Google it " back to rules on more serious note would it be possible to somehow add a note "posting development software (IDE) question - like "QtCreator " or "Eclipse" is OK " or Add "post created with AI assistance help" note should be added when appropriate Cheers

    Site Bugs / Suggestions visual-studio help question

  • ...do not reply " Google it"....
    J jana_hus

    NO, you MAY get banned...

    The Lounge tutorial question learning

  • ...do not reply " Google it"....
    J jana_hus

    no , I am not native English person and (if you read) the forum rules they are pretty explicit , clear about how to respond to apparently non English speaking person. And furthermore - there is something in "rules" to help and not to make the poster feel stupid...( it may be OK for you to accept "Google it" , but if that is THE ONLY reply I keep getting from specific "contributor" it makes me feel stupid and unwelcome ) But you comment is in-line with "it is users fault", hence the introduction was , IMHO, just " empty filler ". But is it your choise , style to post and my reaction ,reply to it should be my choice and OK. (But from my experience here it is risky for me ti post this) "

    The Lounge tutorial question learning

  • ...do not reply " Google it"....
    J jana_hus

    Unless I am way off in the left field , mistaken, did "Code project" instructions "how to reply" included " do not reply with "Google it" , the OP probably already did that"... Am I wrong? Please JUST confirm - there are more pleasant things in life than to dwell on something which cannot be rectified. Of course for challenged , hard to hear "contributor" , it would not make any difference anyway.

    The Lounge tutorial question learning

  • how to czeck AT on USB serial port? (Linux)
    J jana_hus

    thanks for the reply. I probably did not formulate my question correctly. I was not asking about AT commands. I was trying to verify if some serial port parameters are being used to put the USB port itself into "loopback mode". Actually I am not sure if Linux serial port can use AT commands at all. I guess I need to look if Linux has "default modem" anything.

    Hardware & Devices question linux tutorial

  • how to czeck AT on USB serial port? (Linux)
    J jana_hus

    I have been graciously given PCB with LED's to monitor SOME serial data. It has LED for DRX and DTX. My current serial data code only sends and I have no connection to any "remote serial device" , but I can see both DRX and DTX flashing. Good. BUT why is DRX flashing? Is is because my "serial data communication" is set for "local loop back"? How do I verify my "modem" settings" AKA "AT" commands ? Thanks

    Hardware & Devices question linux tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups