06-07-2009
If I understood this correctly you are getting messages from an embedded device presumable in some kind of encoded struct but you are not actually coding on/for the embedded device.
If you are post-processing this on an "normal" PC you should just be decoding the messages and using the decoded content to do your processing. For example if you have an 8 bit float of some kind coming out from the device you would convert that and use a standard 32 bit float on your pc and ignore the fact that the data type is much bigger than you actually need.
Likewise is you need to send the information back to the device, you would need to reencode the message into a sequence of bytes and send that.
Adapting/converting the messages rather than reimplmenting the basic functionality will give you much better mileage.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
As a formem unix newbe
I Just wanted to tell you about this cool site for all you confused people.
If you need to support more than one unix type:
Use this one. It's a life saver.
http://www.unixguide.net/unixguide.shtml
here (4 Replies)
Discussion started by: sunbird
4 Replies
2. Shell Programming and Scripting
Hello there,
i just want to know what are the different type of shells and the main difference betwee them. The problem is that if you try to search over the net you will find a lot of information and hence you will have no enough time to read all of them.....Anyone can help with this?? (1 Reply)
Discussion started by: charbel
1 Replies
3. Shell Programming and Scripting
Can one string type variable changed into the date type variable. (1 Reply)
Discussion started by: rinku
1 Replies
4. Programming
Dear colleagues,
One of my friend have a problem with c code. While compiling a c program it displays a message like
"array type has incomplete element type". Any body can provide a solution for it.
Jaganadh.G (1 Reply)
Discussion started by: jaganadh
1 Replies
5. Solaris
how to get the raid type of a mount if I am using solaris disksuite?
thanks (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Where can I find the encoding type in a unix server ?
Thanks in advance !!! (1 Reply)
Discussion started by: risshanth
1 Replies
7. UNIX for Dummies Questions & Answers
I would like to print value of key generate like this....
key_t k = ftok(".",'c');
printf("key is %d \n" , k);
Is there other way to print this type. I dont think I am getting right output which is
key is 1662074913 (shouldn't it be 6362074913) since 'c' is 63 in hex (ascii table).... (2 Replies)
Discussion started by: joker40
2 Replies
8. Windows & DOS: Issues & Discussions
Hello All
Is there a way I can find out the type of RAM (DDR1 or DDR2 or DDR3), I'm using withoout opening the cabinet?
Any Windows command?
Thanks in advance. (5 Replies)
Discussion started by: tenderfoot
5 Replies
9. Programming
In C++, how can I change the type with another name
For example
How can I declaring an object real which would be the same as declaring it float (5 Replies)
Discussion started by: kristinu
5 Replies
LEARN ABOUT DEBIAN
usb_mid
usb_mid(7D) Devices usb_mid(7D)
NAME
usb_mid - USB Multi Interface Driver
SYNOPSIS
device@unit-address
DESCRIPTION
The usb_mid driver is a USBA (Solaris Universal Serial Bus Architecture) compliant nexus driver that binds to device level nodes of a com-
posite (multi interface) device if no vendor or class specific driver is available. The usb_mid driver attempts to bind drivers to each of
the composite device's interfaces.
FILES
/kernel/drv/usb_mid 32-bit x86 ELF kernel module
/kernel/drv/amd64/usb_mid 64-bit x86 ELF kernel module
/kernel/drv/sparcv9/usb_mid 64-bit SPARC ELF kernel module
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+------------------------------+
|Architecture |SPARC, x86, PCI-based systems |
+-----------------------------+------------------------------+
|Availability |SUNWusb |
+-----------------------------+------------------------------+
SEE ALSO
cfgadm_usb(1M), attributes(5), usba(7D)
Writing Device Drivers
Universal Serial Bus Specification 1.0 and 1.1
System Administration Guide: Basic Administration
http://www.sun.com/io
DIAGNOSTICS
In addition to being logged, the following messages may appear on the system console. All messages are formatted in the following manner:
Warning: <device path> (usb_mid<instance number>): Error Message...
Cannot access <device>. Please reconnect.
This device has been disconnected because a device other than the original one has been inserted. The driver informs you of this fact
by displaying the name of the original device.
Device not identical to the previous one on this port. Please disconnect and reconnect.
Same condition as described above; however in this case, the driver is unable to identify the original device with a name string.
Please disconnect and reconnect this device.
A hotplug of the device is needed before it can be restored.
SunOS 5.10 9 Oct 2004 usb_mid(7D)