cosmetic: Fix various typos in ph_socket.h
This commit is contained in:
parent
d187685d2d
commit
63ea86b875
|
@ -4,12 +4,12 @@
|
|||
/*
|
||||
* Procedure:
|
||||
*
|
||||
* If socket connection is establised, a PH_PRIM_CTRL_REQ message with
|
||||
* If socket connection is established, a PH_PRIM_CTRL_REQ message with
|
||||
* PH_CTRL_ENABLE information is received by the socket server user.
|
||||
* If the socket connection is lost, a PH_PRIM_CTRL_REQ message with
|
||||
* PH_CTRL_DISABLE information is received by the user.
|
||||
*
|
||||
* If socket connection is establised, a PH_PRIM_CTRL_IND message with
|
||||
*
|
||||
* If socket connection is established, a PH_PRIM_CTRL_IND message with
|
||||
* PH_CTRL_ENABLE information is received by the socket client user.
|
||||
* If the socket connection is lost, a PH_PRIM_CTRL_IND message with
|
||||
* PH_CTRL_DISABLE information is received by the user.
|
||||
|
@ -24,14 +24,14 @@
|
|||
* PH_PRIM_DACT_IND, if the socket is currently unavailable.
|
||||
*
|
||||
* PH_PRIM_CTRL_REQ and PH_PRIM_CTRL_IND messages with PH_CTRL_ENABLE
|
||||
* and PH_CTRL_DISABLE informations are not assoicated with a channel
|
||||
* and PH_CTRL_DISABLE information are not associated with a channel
|
||||
* number. The socket sender shall set it to 0, the receiver shall
|
||||
* ignore it.
|
||||
*
|
||||
* A missing MODE in PH_PRIM_ACT_REQ is interepreted as default:
|
||||
* A missing MODE in PH_PRIM_ACT_REQ is interpreted as default:
|
||||
* HDLC on D-channel, TRANS on B-channel.
|
||||
*
|
||||
* Each packet on the socket shall have the follwoing header:
|
||||
* Each packet on the socket shall have the following header:
|
||||
* uint8_t channel;
|
||||
* uint8_t prim;
|
||||
* uint16_t length;
|
||||
|
@ -65,8 +65,8 @@
|
|||
#define PH_CTRL_BLOCK 0x00 /* disable (block) interface, when socket is disconnected */
|
||||
#define PH_CTRL_UNBLOCK 0x01 /* enable (unblock) interface, when socket is connected */
|
||||
#define PH_CTRL_LOOP_DISABLE 0x04 /* disable loopback */
|
||||
#define PH_CTRL_LOOP1_ENABLE 0x05 /* enable LT transceier loopback */
|
||||
#define PH_CTRL_LOOP2_ENABLE 0x06 /* enable NT transceier loopback */
|
||||
#define PH_CTRL_LOOP1_ENABLE 0x05 /* enable LT transceiver loopback */
|
||||
#define PH_CTRL_LOOP2_ENABLE 0x06 /* enable NT transceiver loopback */
|
||||
#define PH_CTRL_LOOP_ERROR 0x10 /* frame error report (loopback test) */
|
||||
#define PH_CTRL_VIOLATION_LT 0x11 /* code violation received by LT */
|
||||
#define PH_CTRL_VIOLATION_NT 0x12 /* code violation received by NT */
|
||||
|
|
Loading…
Reference in New Issue