Published April 19, 2016
| Version v1.1
Software
Open
HDLC-ICEC: the first realease
Description
The python library for the IC control to GBTx, and EC control to GBT-SCA device.
Please check https://github.com/simpway/HDLC-ICEC/ for update.
One bug was fixed in HDLC_ICEC_LIB_CK.py:
def bit_destuffing(IN):
OUT=np.arange(256)
k=0
num=0
for i in range(256-8):
if IN[i+8]==0:
# if num == 5:
if (num==5 and list(IN[i+8:i+8+8]) != [0,1,1,1,1,1,1,0]):
# print("bit de-stuffing")
num=0
else:
num=0
OUT[k]=0
k=k+1
elif num==6:
#print("done")
break;
else:
num=num+1
OUT[k]=1
k=k+1
return OUT[0:k-6]
Files
HDLC-ICEC-v1.1.zip
Files
(157.5 kB)
Name | Size | Download all |
---|---|---|
md5:55aa95bb705d8adee0313580ae6bf1ee
|
157.5 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/simpway/HDLC-ICEC/tree/v1.1 (URL)