Hello feng You're trying to allocate 150K from the packet pool. First, you need to make sure you actually have this much memory to spare. Secondly, the maximum you can fit in a packet is 1500 bytes. While I'm sure nx_packet_data_append will allocate a new pack, if necessary, there may be some size limitations imposed, especially related to the packet pool and fragmentation settings. What return value are you observing? Almost every function in the SSP returns its status that can then be decoded using ssp_err_t enum (for SSP modules) or using User's Manuals (for X-Ware components). Regards
↧