2.34. gc_SndFrame( )
The gc_SndFrame( ) function sends a Layer 2 frame to the ISDN data link layer. The following ISDN L2 block structure can be passed to the function via the GC_L2_BLK structure:
l2_blk_ptr[0] = 0x08; /* Protocol discriminator */ l2_blk_ptr[1] = 0x02; /* CRN length - 2 bytes */ l2_blk_ptr[2] = 0x03; /* CRN = 8003 */ l2_blk_ptr[3] = 0x80; l2_blk_ptr[4] = 0x6e; /* msg type = NOTIFY */ /* The first IE */ l2_blk_ptr[5] = 0x27; /* IE type = 27 (NOTIFY) */ l2_blk_ptr[6] = 0x01; /* The length of NOTIFY */ l2_blk_ptr[7] = 0xF1; /* Notify indication */ /* The second IE */ l2_blk_ptr[8] = 0x76; /* IE type = 76 (REDIRECTION) */ l2_blk_ptr[9] = 0x03; /* length of redirection */ l2_blk_ptr[10] = 0x01; /* unknown type and E164 plan */ l2_blk_ptr[11] = 0x03; /* network provides presentation */ l2_blk_ptr[12] = 0x8D; /* reason = transfer */
- Note: When using DM3 boards, the gc_SndFrame( ) function returns an error if the number of bytes in the transmit frame exceeds the limit of 260 bytes.
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation