kopia lustrzana https://gitlab.com/eliggett/wfview
Add improved connection timeout for IC9700
rodzic
cf4e872e4f
commit
48a9710c11
|
@ -177,10 +177,12 @@ typedef union token_packet {
|
|||
union {
|
||||
struct {
|
||||
quint16 authstartid; // 0x20
|
||||
char unusedg[5]; // 0x22
|
||||
char unusedg2[2]; // 0x22
|
||||
quint16 resetcap; // 0x24
|
||||
char unusedg1; // 0x26
|
||||
quint16 commoncap; // 0x27
|
||||
char unusedh; // 0x29
|
||||
quint8 macaddress[6]; // 0x2a
|
||||
quint8 macaddress[6]; // 0x2a
|
||||
};
|
||||
quint8 guid[GUIDLEN]; // 0x20
|
||||
};
|
||||
|
|
|
@ -683,6 +683,7 @@ void udpHandler::sendToken(uint8_t magic)
|
|||
p.requestreply = 0x01;
|
||||
p.innerseq = qToBigEndian(authSeq++);
|
||||
p.tokrequest = tokRequest;
|
||||
p.resetcap = qToBigEndian((quint16)0x0798);
|
||||
p.token = token;
|
||||
|
||||
sendTrackedPacket(QByteArray::fromRawData((const char *)p.packet, sizeof(p)));
|
||||
|
|
Ładowanie…
Reference in New Issue