Questions tagged [bitstuffing]

In data transmission and telecommunication, bit stuffing (also known—uncommonly—as positive justification) is the insertion of non information bits into data. Stuffed bits should not be confused with overhead bits.

23 questions
0
votes
1 answer

Directly manipulating bits in assembly for bit stuffing

I am new to assembly, and I was wondering if there was a way for me to directly manipulate the bits that form a certain int value in order to simulate bit stuffing. For example, if I have a 32bit int that represents the message I want to stuff, is…
Iocust
  • 105
  • 1
  • 14
0
votes
2 answers

How do I account for messages being broken up when using sockets?

My Design I'm using sockets to implement a chat server. The client side uses Java's java.net.Socket and BufferedReader to read messages from the server. The server side uses Php's socket_read() to get messages from the clients. And it uses Php's…
Kacy
  • 3,330
  • 4
  • 29
  • 57
0
votes
1 answer

Regarding Bit stuffing for Java

I am programming for a assignment regarding data transferring with bit stuffing, in which the an inversed bit will be added to the data stream when 5 identical bits are transferred (i.e. after 5 "0", a "1" will be added; 5 "1", a "0" will be…
Aabbccc
  • 7
  • 3
0
votes
1 answer

Combine four ID columns to one

I have a view populated with data from 4 views. Now in the combined view I get four ID columns from each of the views with non-similar values. I need to get all them in a single Field (say ID_NEW).Can I proceed by stuffing? Please help me out.
0
votes
1 answer

Filter out byte with certain value and XOR next byte

I receive a byte array and have to remove all 7Dh’s from the array and exclusive or the following byte with 20h in order to recover the original data byte. What is the best way to do this?
Robby Smet
  • 4,649
  • 8
  • 61
  • 104
-1
votes
1 answer

bit stuffing custom frame tags

I am a little confused regarding the bit stuffing. I understand the procedure if the frame tags is not possible to be shown in the sequence but what will happen if the frame tag occur in the frame? For example: if the frame tag is 100001 and the…
-1
votes
1 answer

How to calculate the nof of bits of 0 in bit stuffing?

If the string given is 01111 and text is 0111101111 , what is the number of bits required in bit stuffing?
-5
votes
1 answer

How to stuff any number of values in 8-10 bytes of data for n number of 16 bit values?

I am working on algorithm where i can have any number of 16 bit values(For instance i have 1000 16 bit values , and all are sensor data, so no particular series or repetition). I want to stuff all of this data into an 8 or a 10 byte array(each and…
1
2