helpUSBB2K-API - Support: sr #105745, DialTone Command Patch


sr #105745: DialTone Command Patch

Submitted by:  Simon Dible <simon_6162>
Submitted on:  Tue 23 Jan 2007 06:18:58 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue 23 Jan 2007 06:18:58 PM UTC, original submission:

I required access to a command to turn the dialtone on and off from my client program so I have added the following code, any chance you can add it to your version?

I currently have a patched version as part of my kb2kskype program on sourceforge, I hope you don;t mind, it would be nice to merge the changes into your version.

Line 53 of usbb2k-api.h
// added by simon dible 08-01-07
//dial tone command signals
// end add

Add the following to decode command in usbb2k-api.c
// ---
// added by simon dible 08-01-07
if (buffcmp(cmd_str,"DIALTONE ON")==0)
if (buffcmp(cmd_str,"DIALTONE OFF")==0)
//end add

Add to case statement in client_th in same file

//added by simon dible 08-01-07
//turn the dial tone on or off based on user command
start_stop_dialtone = DIAL_TONE_ON;
start_stop_dialtone = DIAL_TONE_OFF;
//end add

Simon Dible <simon_6162>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by simon_6162 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup