/vendor/hisilicon/hispark_pegasus/demo/samart_environmental_monitoring_system_demo/udpserver_env/ |
H A D | net_demo.h | 19 void NetDemoTest(unsigned short port, const char* host); 31 void NetDemoTest(unsigned short port, const char* host) { \ in CLIENT_TEST_DEMO() argument 34 printf("I will connect to %s:%d\r\n", host, port); \ in CLIENT_TEST_DEMO() 35 testFunc(host, port); \ in CLIENT_TEST_DEMO() 42 void NetDemoTest(unsigned short port, const char* host) { \ in SERVER_TEST_DEMO() argument 45 printf("I will listen on :%d\r\n", port); \ in SERVER_TEST_DEMO() 46 testFunc(port); \ in SERVER_TEST_DEMO()
|
H A D | udp_server_test.c | 32 void UdpServerTest(unsigned short port) argument 41 serverAddr.sin_port = htons(port); 50 printf("bind to port %u success!\r\n", port); 56 printf("peer info: ipaddr = %s, port = %d\r\n", inet_ntoa(clientAddr.sin_addr), ntohs(clientAddr.sin_port));
|
/vendor/hisilicon/hispark_pegasus/demo/smart_night_light_demo/udpserver_light/ |
H A D | net_demo.h | 19 void NetDemoTest(unsigned short port, const char* host); 30 void NetDemoTest(unsigned short port, const char* host) { \ in CLIENT_TEST_DEMO() argument 33 printf("I will connect to %s:%d\r\n", host, port); \ in CLIENT_TEST_DEMO() 34 testFunc(host, port); \ in CLIENT_TEST_DEMO() 41 void NetDemoTest(unsigned short port, const char* host) { \ in SERVER_TEST_DEMO() argument 44 printf("I will listen on :%d\r\n", port); \ in SERVER_TEST_DEMO() 45 testFunc(port); \ in SERVER_TEST_DEMO()
|
H A D | udp_server_test.c | 30 void UdpServerTest(unsigned short port) argument 39 serverAddr.sin_port = htons(port); 48 printf("bind to port %u success!\r\n", port); 54 printf("peer info: ipaddr = %s, port = %d\r\n", inet_ntoa(clientAddr.sin_addr), ntohs(clientAddr.sin_port));
|
/vendor/hisilicon/hispark_pegasus/demo/tcpclient_demo/ |
H A D | net_demo.h | 20 void NetDemoTest(unsigned short port, const char* host); 32 void NetDemoTest(unsigned short port, const char* host) { \ in CLIENT_TEST_DEMO() argument 35 printf("I will connect to %s:%d\r\n", host, port); \ in CLIENT_TEST_DEMO() 36 testFunc(host, port); \ in CLIENT_TEST_DEMO() 43 void NetDemoTest(unsigned short port, const char* host) { \ in SERVER_TEST_DEMO() argument 46 printf("I will listen on :%d\r\n", port); \ in SERVER_TEST_DEMO() 47 testFunc(port); \ in SERVER_TEST_DEMO()
|
H A D | demo_entry_posix.c | 23 printf("Usage: %s [port] [host]\n", argv[0]); in main() 25 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; in main() local 28 NetDemoTest(port, host); in main()
|
/vendor/hisilicon/hispark_pegasus/demo/tcpserver_demo/ |
H A D | net_demo.h | 19 void NetDemoTest(unsigned short port, const char* host); 31 void NetDemoTest(unsigned short port, const char* host) { \ in CLIENT_TEST_DEMO() argument 34 printf("I will connect to %s:%d\r\n", host, port); \ in CLIENT_TEST_DEMO() 35 testFunc(host, port); \ in CLIENT_TEST_DEMO() 42 void NetDemoTest(unsigned short port, const char* host) { \ in SERVER_TEST_DEMO() argument 45 printf("I will listen on :%d\r\n", port); \ in SERVER_TEST_DEMO() 46 testFunc(port); \ in SERVER_TEST_DEMO()
|
H A D | demo_entry_posix.c | 21 printf("Usage: %s [port] [host]\n", argv[0]); in main() 23 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; in main() local 26 NetDemoTest(port, host); in main()
|
/vendor/hisilicon/hispark_pegasus/demo/udpclient_demo/ |
H A D | net_demo.h | 19 void NetDemoTest(unsigned short port, const char* host); 31 void NetDemoTest(unsigned short port, const char* host) { \ in CLIENT_TEST_DEMO() argument 34 printf("I will connect to %s:%d\r\n", host, port); \ in CLIENT_TEST_DEMO() 35 testFunc(host, port); \ in CLIENT_TEST_DEMO() 42 void NetDemoTest(unsigned short port, const char* host) { \ in SERVER_TEST_DEMO() argument 45 printf("I will listen on :%d\r\n", port); \ in SERVER_TEST_DEMO() 46 testFunc(port); \ in SERVER_TEST_DEMO()
|
H A D | demo_entry_posix.c | 20 printf("Usage: %s [port] [host]\n", argv[0]); in main() 22 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; in main() local 25 NetDemoTest(port, host); in main()
|
/vendor/hisilicon/hispark_pegasus/demo/udpserver_demo/ |
H A D | net_demo.h | 19 void NetDemoTest(unsigned short port, const char* host); 31 void NetDemoTest(unsigned short port, const char* host) { \ in CLIENT_TEST_DEMO() argument 34 printf("I will connect to %s:%d\r\n", host, port); \ in CLIENT_TEST_DEMO() 35 testFunc(host, port); \ in CLIENT_TEST_DEMO() 42 void NetDemoTest(unsigned short port, const char* host) { \ in SERVER_TEST_DEMO() argument 45 printf("I will listen on :%d\r\n", port); \ in SERVER_TEST_DEMO() 46 testFunc(port); \ in SERVER_TEST_DEMO()
|
H A D | demo_entry_posix.c | 21 printf("Usage: %s [port] [host]\n", argv[0]); in main() 23 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; in main() local 26 NetDemoTest(port, host); in main()
|
H A D | udp_server_test.c | 23 void UdpServerTest(unsigned short port) argument 32 serverAddr.sin_port = htons(port); 42 printf("bind to port %u success!\r\n", port); 51 printf("peer info: ipaddr = %s, port = %d\r\n", inet_ntoa(clientAddr.sin_addr), ntohs(clientAddr.sin_port));
|
/vendor/hisilicon/hispark_pegasus/demo/lwip_demo/ |
H A D | lwip_tcp_client.c | 23 void TcpClientTest(const char* host, unsigned short port) in TcpClientTest() argument 29 serverAddr.sin_port = htons(port); // 端口号,从主机字节序转为网络字节序 in TcpClientTest() 60 void NetDemoTest(unsigned short port, const char* host) in NetDemoTest() argument 65 TcpClientTest(host, port); in NetDemoTest()
|
H A D | demo_entry_posix.c | 23 printf("Usage: %s [port] [host]\n", argv[0]); in main() 25 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; /* 1 */ in main() local 28 NetDemoTest(port, host); in main()
|
H A D | lwip_tcp_server.c | 24 void TcpServerTest(unsigned short port) in TcpServerTest() argument 33 serverAddr.sin_port = htons(port); // 端口号,从主机字节序转为网络字节序 in TcpServerTest() 42 printf("bind to port success!\r\n"); in TcpServerTest() 64 printf("client addr info: host = %s, port = %d\r\n", inet_ntoa(clientAddr.sin_addr), ntohs(clientAddr.sin_port)); in TcpServerTest() 88 void NetDemoTest(unsigned short port, const char* host) in NetDemoTest() argument 93 TcpServerTest(port); in NetDemoTest()
|
H A D | net_demo.h | 19 void NetDemoTest(unsigned short port, const char* host);
|
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/ |
H A D | coap_client.c | 58 src_addr.port = 23456; /* 主机端口号23456 */ in CoapClientStart() 107 dst_addr.port = COAP_DEFAULT_PORT; in CoapClientSendMsg() 113 listen_addr.port = 23456; /* 监听端口号23456 */ in CoapClientSendMsg()
|
H A D | coap_service.c | 84 serv_addr.port = COAP_DEFAULT_PORT; in CoapServerStart()
|
/vendor/hisilicon/hispark_pegasus/demo/colorfullight_demo/ |
H A D | colorful_light_demo.c | 89 static const WifiIotPwmPort port[] = {WIFI_IOT_PWM_PORT_PWM1, WIFI_IOT_PWM_PORT_PWM2}; in CorlorfulLightTask() local 96 PwmStart(port[i], duty[i], PWM_FREQ_DIVISION); in CorlorfulLightTask() 98 PwmStop(port[i]); in CorlorfulLightTask()
|
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/ |
H A D | bin2stream.py | 84 print("Usage: {} binFile [port]\n\t".format(sys.argv[0])) 88 port = DEFAULT_PORT if len(sys.argv) < 3 else int(sys.argv[2]) 90 print('binFile:', binFile, 'port:', port) 91 server = ThreadingTCPServer(('', port), EncodeHandler)
|
/vendor/hihope/dayu210/bluetooth/include/ |
H A D | userial.h | 19 // This module manages the serial port over which HCI commands 53 // Opens the given serial port. Returns true if successful, false otherwise. 55 // buffers from data read off the serial port. If you wish to pause the 58 // serial port was successfully opened and buffer production has started. It 60 bool userial_open(userial_port_t port); 64 // Reads a maximum of |len| bytes from the serial port into |p_buffer|. 69 // Writes a maximum of |len| bytes from |p_data| to the serial port.
|
/vendor/hihope/rk3568/bluetooth/include/ |
H A D | userial.h | 19 // This module manages the serial port over which HCI commands 53 // Opens the given serial port. Returns true if successful, false otherwise. 55 // buffers from data read off the serial port. If you wish to pause the 58 // serial port was successfully opened and buffer production has started. It 60 bool userial_open(userial_port_t port); 64 // Reads a maximum of |len| bytes from the serial port into |p_buffer|. 69 // Writes a maximum of |len| bytes from |p_data| to the serial port.
|
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/ |
H A D | app_demo_multi_sample.h | 260 void PwmInit(unsigned int id, unsigned char val, unsigned int port);
|
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/ |
H A D | app_demo_multi_sample.h | 260 void PwmInit(unsigned int id, unsigned char val, unsigned int port);
|