Programming :: Explaining The USB Protocol?

Jan 16, 2011

So what I'm trying to do is write a USB stack for a uC, but beyond the 10 ms reset signals from the host I'm kind of lost. What happens after that? If someone could point me somewhere that explains it step by step in detail, instead of jumping around

View 2 Replies


ADVERTISEMENT

Ubuntu :: Any Guide Available Explaining How To Setup Chat And Broadcast?

Apr 29, 2010

Is there any guide available explaining how to setup Chat and Broadcast?It is not very important (I dont use it much), but as ubuntu is now "Social from start" and very user friendly it should be very easy.However I have not been able to set it up no matter what i have done.

View 3 Replies View Related

Programming :: Implement Own Protocol With AgenjJ?

Feb 9, 2011

I developed a protocol "it's a modification of OLSR" for wireless networks, it was with JAVA and I try to simulate it on NS2, I used AgentJ, so in the TCL I did any thing like usual;

set val(chan) Channel/WirelessChannel ;# channel type
set val(prop)Propagation/TwoRayGround ;# radio-propagation model
set val(netif) Phy/WirelessPhy ;# network interface type

[code]....

and I didn't specified the protocol because I attached my nodes to the JAVA class responsible for the protocol, but when I run it generates errors, it claims the protocol to use, so I don't know how proceeding.

View 2 Replies View Related

Programming :: Regarding Query Protocol On Internet?

Jul 17, 2011

There is a protocol in use - for example when I use Firefox to do a query through Google - as I type into the search field the browser sends my characters - one at a time - to the server. As I recall, at one time I found the specification but I'm pulling a blank. As I recall it does a POST of each character as I enter it, and the server responds before I have entered a <CR>. I want to write a client side program that uses that protocol and need to see the spec.

View 2 Replies View Related

Programming :: Interface ADE7758 With AT91sam9261 Using SPI Protocol?

Sep 29, 2010

how to interface ADE7758 with AT91sam9261 using SPI protocol

View 2 Replies View Related

Programming :: Error 97 = Address Family Not Supported By Protocol?

Oct 18, 2010

I have a very strange problem in a C++ RHEL4 app. Here is the code: socket(PF_INET, SOCK_STREAM, 0) returns errno 97 socket(PF_INET, SOCK_DGRAM, 0) returns successow that is strange or what?additional info:1. Extracting the above code into a test program, both return success.2. Placing the above code into the 1st line of my app, error as above.3. I ran app and test program in the same terminal window.4. My app links in many static libraries 5. My app runs fine when compiled and linked on RHEL56. My APP is a ss7 endpoint (SIP <==> SS7 message flow)7. I verified PF_INET, SOCK_STREAM, SOCK_SGRAM values are correct.

View 2 Replies View Related

Programming :: What Supposed To Do With Communication Protocol Reference Guide?

Jan 25, 2011

how am I supposed to use this guide. The doc states different messages lengths and formats, as a programmer, how should I utilize these information?Just fyi, my question is a general qns and does not necessarily target to just using netxms, but could be any other opensource as well.

View 4 Replies View Related

Programming :: NS2 Marc Greis Chapter 7 Ping Protocol Code

Dec 16, 2010

Split programming in ns2 marc greis chapter 7 ping protocol code. I tried compiling the above program and got the errors as in error.txt I have attached. Ping.cc and ping.h also are attached. I have supplied all the required header files along with appropriate paths and yet this problem.

ATTACH]5537[/ATTACH]
pingcc.txt
pingh.txt

View 3 Replies View Related

Programming :: Simulate A Serial Protocol In User Space Program To Test Reception Algorithm?

Jul 28, 2010

I want to simulate a serial protocol in user space program to test reception algorithm. The protocol is similar to UART protocol but frame format is different. The duration of 1 bit is 114,46 us. In my main function I'm creating two threads. Tx for simulating transmitting data and Rx for reception data. For measure time I use create_timer() function and signals. Each thread has its own timer and signal handler. Tx timer uses SIGUSR1 and Rx timer uses SIGUSR2. Tx thread sets the global variable and Rx reads it.

The timers are set to sample with 114,46 us period. When they reach this value signal handler should set the flag. Flag is check in thread and some operation are made. When I set the timers period for longer time (100 ms) everything works fine but when I change it to default value (114,46 us) the Rx thread doesn't receive the proper data. I am wondering if the 114,46 timer period is possible to simulate in user space? Whether the time will give me the proper resolution ? Theoretically it should provide 1 ns resolution.

View 3 Replies View Related

Programming :: Error: Dbus/dbus-protocol.h: No Such File Or Directory

Jan 24, 2011

do have installed glib and dbus and can find them manually , /usr/include/glib-2.0/glib.h , but while comipling applicaiton it gives following error messages.

/usr/include/libosso.h:32:18: error: glib.h: No such file or directory
/usr/include/libosso.h:38:23: error: dbus/dbus.h: No such file or directory
/usr/include/libosso.h:39:32: error: dbus/dbus-protocol.h: No such file or directory

View 1 Replies View Related

Fedora :: SPICE Protocol Across The WAN?

May 5, 2011

Has someone using opensource SPICE [URL] wit WIN7 Prof. desktop across the low 2 Mbps WAN with 50ms latency? BTW we're using VMware View 4.6 Desktop with WIN7 Prof. (PCoIP) and have a lot performance problems across the WAN.

View 4 Replies View Related

Networking :: Installing A New Protocol In Ns2.34?

Nov 25, 2010

I was trying to install a new protocol under ns2-34 when I execute make command, I got this error :

In file included from ./config.h:60,
from ./routing/address.h:38,
from ant/ant.cc:4:
/usr/local/include/tclcl.h:42: fatal error: tcl.h: Aucun fichier ou dossier de ce type
compilation terminated.
make: *** [ant/ant.o] Erreur 1

I can't find this tcl.h !! I don't know how to add this file !

View 1 Replies View Related

Red Hat :: How Sftp Protocol Was Designed

Jul 9, 2010

Using CentOS 5.5. I have ssh setup to use a radius server for authentication. When I use filezilla to test sftp I can successfully authenticate and get directory listings, but every time I try to download or upload a file filezilla attempts to re-authenticate which fails because the radius server uses token auth with one time passwords, so the original password used to authenticate is no longer valid. However I can browse directories all I want and it never tries to re-authenticate.

1. is this re-auth just how sftp protocol was designed? like re-auth anytime a user tries a different action, like browse vs download vs upload?
2. or am I just missing something? (very likely, I'm not real experienced with linux)

View 3 Replies View Related

Debian Multimedia :: Can't Allow Indirect GLX Protocol

Apr 13, 2016

I have Debian 8.4.0 with gnome gdm3 and NVIDIA GeForce 8400 GS. When I run some applications the following message appears:

Code: Select allname of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  33
  Current serial number in output stream:  34

Previously, I had lightgdm instead of gdm3 and I fixed this problem allowing indirect GLX protocol just setting xserver-command=X -core +iglx in /usr/ share/lightdm/lightdm.conf.d/50-xserver-command.conf...Now I can't allog GLX protocol. I have tried the following:

Set Option "AllowIndirectGLXProtocol" "On" in xorg.conf Set serverargs="+iglx" in /usr/bin/startx Set exec /usr/bin/X in /etc/X11/xinit/xserverrc

Despite all this, the error message persists and xorg.0.log indicates that indirect GLX is disabled (line 19.477):

Code: Select all[    17.604]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[    17.604] X Protocol Version 11, Revision 0
[    17.604] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[    17.604] Current Operating System: Linux federueda-pc 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64
[    17.604] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=4156658f-15d7-43ae-b0ff-2dfc7484c3ab ro quiet

[code]...

In short, I don't find the way to enable indirect GLX in gdm3.

View 1 Replies View Related

Fedora Networking :: Don't Seem To Get Our Bridging With Protocol

Jul 12, 2011

We are running in to a issue where we don't seem to get our bridging to work as we expected. Meaning passing all traffic from Point A to Point B. As explained below:

[Code]...

This is the original connection. Now we are adding our Linux IP impairment box for IP tables in between Application Server A and Router X so the figure would look as below: Application Server A --> IP Impairment box --> Router X --> router Y --> Application Server B

The issue we are having is When a packets are sent from Server A to Server B they are going through for PING, TCP, UDP, but for BGP the connection is established at a TCP level (SYN, SYN-ACK, ACK), but the BGP OPEN packet does not get through and our BGP relation ship does not come up between Application Server A and B. Application Server A and B are a routers also but there are applications running on those router. BGP is underlying protocol used for Application Server A to be talking with Application Server B and getting routes for each other.

Even with the iptables empty (all rules default ACCEPT) we still can't seem to get these BGP OPEN's through. We see both sides of the application servers sending BGP OPEN's, but the Linux bridge never passes those packets to the other side of the bridge. Tracking the BGP packets, we see the packets at iptables raw PREROUTING and filter FORWARD tables but the packet doesn't get out the other interface.

View 2 Replies View Related

General :: Register A Custom Protocol With Xdg?

Jul 10, 2010

I've been struggling this morning trying to associate an application with a custom protocol, namely emacsclient and org-protocol.

I'm calling this protocol from a webbrowser bookmarklet, and I get the following behaviour :

In chromium, the "Launch Application" dialog comes up, and calls xdg-open org-protocol://... which ends up firing a new chromium frame.

In firefox, I've tried setting network.protocol-handler.app.org-protocol to an empty string or my emacsclient path, anyhow I get the following error message : "Firefox doesn't know how to open this address, because the protocol (org-protocol) isn't associated with any program" without even showing any external application selection dialog.

I'm not using any desktop environment, so I need to make this work strictly with xdg, however, despite reading the shared mime info spec etc, I still can't fathom a working configuration.

View 2 Replies View Related

Ubuntu :: More Reliable RDP Protocol Other Than XRDP

Jun 23, 2010

I installed ubuntu server 10.04 32-bit and I installed XRDP so I can connect to it using RDP sessions. I was wondering if there is a better alternative to it. I have the following issues with it: 1. When I connect to the server locally using rdp it works just fine the first time. Then when I close the session I cannot connect to it again (it says connection timed out). Then if I uninstall then reinstall it will work again for another time then do the same thing. 2. I receive a protocol error when using Windows 7 or RDP version 6.1.7600 (Newest RDP version)

View 9 Replies View Related

General :: Copy Dhcp Protocol To Cd Rom?

Jun 11, 2011

I have linux running on a cd rom, whenever I need to start linux on my computer i just insert the cd. however I want to copy a dhcp protocol from my users folder from my computer to the linux cd rom. The name of the dhcp protocol file on my computer is /users/bennett/downloads/dualserverv6.83, soI am wondering how do I do this when I'm running the linux software from cd rom from the same pc.

View 1 Replies View Related

Networking :: Add The Rtp Protocol To Iptables Rule?

Jul 29, 2009

i'm new in linux world i would like to know how can i add the rtp protocol to my iptables rule for Netfilter firewall,but without installing the asterisk server

View 1 Replies View Related

Networking :: Saving DHCP Protocol To CD ROM?

Jun 11, 2011

I have linux running from a cd rom when I need to start linux. I have the dhcp program on my computer and I need to save it to the cd rom with the linux system on it. The dhcp program is in my /users/bennett/downloads/dualserverinstallationv6.83 folder. So how do I get ths save to my linux system on the cd rom so I can use it in Voiphopper.

View 1 Replies View Related

General :: Codes For Leach Protocol In Ns2?

Feb 23, 2011

i needed to implement leach protocol in ns2using linux redhat but i need the codes for leach protocol

View 2 Replies View Related

General :: Explicit Control Protocol - XCP - On Ns-2.34

Apr 18, 2011

I use ns-2.34 and I have a simple script and I want to use the xcp on it.

My script is:

Code:

In ns-2.34 there are a script which name is xcp-tcp.tcl.

I understand this scenario but I cant modify my script to work like this.

View 1 Replies View Related

Server :: How To Find The Network Protocol

Jul 30, 2011

finding the best protocol for my server's file sharing. I will use this with 3 macs running 10.4.11 , one running 10.6.8, and one running 10.7 AND 10.6.7 AND Ubuntu 11.04. My server is going to be running Gentoo. I also need something where i can access it over the internet(and I'm using dyndns for my internet access(acessing from a outside machine)) with encryption and little hassle. I need the ability to be able to mount in finder and multiple users to be able to open a file.

View 2 Replies View Related

Software :: Need VoIP That Works - SIP Protocol

Dec 12, 2008

I'd like VOIP that works. VOIP is essential for my work, video would be very, very nice for keeping in touch with loved ones (keeping in touch with little nieces as they grow up, that kind of thing). It would be nice to get Skype working, but a more open alternative would be good too. Skype worked fine with Mandriva 2008.0, I couldn't get it working with acceptable sound quality in 2008. 1 in spite of following instructions. Now it seems broken in 2009.0 too, with no clear instructions on how to make it work - I just don't want to get into another vortex. Especially since, as I now discover, Skype does not support the open "SIP" VOIP protocol.

I gather that MSN & Yahoo both do support it, and Google Talk supports other protocols for text (not sure about voice) so I could connect through Ekiga, for example. I just set up Ekiga Softphone - don't know if it will work, but it's asked me to set up port forwarding without giving me the first clue of how to do it or which ports to forward. I'm also thinking about changing to Debian - I want a distro that lets me configure it at install, setting up the system to be very light and fast. (I'm not really a Linux Geek, but at least I figure Debian should be well documented, and stable and fast enough to make it worth the trouble.) Does that affect my choice of VOIP?

View 9 Replies View Related

Ubuntu :: Add New Patch For Leach Protocol In Ns2.34?

Apr 4, 2010

How to add new patch for leach protocol in ns2.34 in ubuntu9.10

View 8 Replies View Related

CentOS 5 :: Can't Update Using Http Protocol

Mar 14, 2011

In my workplace, I can't update Centos using http protocol, but, it's possible with ftp (I tried with Debian and it's work). How to configure the repositories in Centos 5.5, to download the packages by FTP?

View 4 Replies View Related

Debian :: Get An IM Program To Work With MSN Account - Protocol In 5

Aug 14, 2010

I'm not that new to Linux having used a few other distros but at the same time i am not really 'clued up' and can quickly get stuck. My problem is trying to get an IM program to work with my MSN account. I use this just to keep in touch with family/friends. Pidgin, doesn't seem to have an option to add an MSN account at all. I installed Empathy after using it in Fedora which gave me an option to setup a MSN account but it doesn't connect?

View 14 Replies View Related

Debian :: Nfs Version Or Transport Protocol Not Supported?

Mar 31, 2011

once again banging the head against a brick wall, entered the following commands in to client and server, but get the above message on both, is there something wrong with the script, or thw computers? mount 192.168.1.68:/export/shared /mnt/nfs_on_debian

View 1 Replies View Related

Debian Multimedia :: Pidgin: No Protocol For Yahoo And Msn?

May 8, 2010

Recently, I fully upgraded my Lenny Desktop (to 5.0.4). Now I am unable to add yahoo and msn protocol in pidgin. I can't see those options in Pidgin>>Add Accounts dropdown. Several times I cleaned the old config files and reinstalled it. Still nothing to my avail

View 7 Replies View Related

Fedora Networking :: What Is Network Protocol Sctp

Dec 12, 2010

The three lines in /etc/services for nfs (2049) has UDP, TCP and one I haven't seen before sctp. what is sctp and does iptables block it?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved