/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/source/ |
D | m2m_wifi.c | 54 static tpfAppWifiCb gpfAppWifiCb = NULL; 58 static tpfAppEthCb gpfAppEthCb = NULL; 59 static uint8* gau8ethRcvBuf=NULL; 66 static tpfAppMonCb gpfAppMonCb = NULL; 73 gstrMgmtCtrl = {NULL, 0 , 0}; 159 gpfAppWifiCb(M2M_WIFI_RESP_IP_CONFLICT, NULL); in m2m_wifi_cb() 279 if(u16DataSize > 0 && gstrMgmtCtrl.pu8Buf != NULL) in m2m_wifi_cb() 321 if(pstrM2MAPConfig == NULL) in m2m_validate_ap_parameters() 406 if(ptstrM2MScanOption == NULL) in m2m_validate_scan_options() 447 …s8Ret = hif_send(M2M_REQ_GROUP_SSL, M2M_SSL_IND_CRL|M2M_REQ_DATA_PKT, NULL, 0, (uint8*)pCRL, sizeo… in m2m_wifi_send_crl() [all …]
|
D | m2m_ota.c | 58 static tpfOtaUpdateCb gpfOtaUpdateCb = NULL; 59 static tpfOtaNotifCb gpfOtaNotifCb = NULL; 166 ret = hif_send(M2M_REQ_GROUP_OTA,M2M_OTA_REQ_NOTIF_SET_URL,u8Url,u16UrlSize,NULL,0,0); in m2m_ota_notif_set_url() 184 ret = hif_send(M2M_REQ_GROUP_OTA,M2M_OTA_REQ_NOTIF_CHECK_FOR_UPDATE,NULL,0,NULL,0,0); in m2m_ota_notif_check_for_update() 204 ret = hif_send(M2M_REQ_GROUP_OTA,M2M_OTA_REQ_NOTIF_CHECK_FOR_UPDATE,NULL,0,NULL,0,0); in m2m_ota_notif_sched() 229 ret = hif_send(M2M_REQ_GROUP_OTA,M2M_OTA_REQ_START_FW_UPDATE,u8DownloadUrl,u16DurlSize,NULL,0,0); in m2m_ota_start_update() 250 ret = hif_send(M2M_REQ_GROUP_OTA,M2M_OTA_REQ_START_CRT_UPDATE,u8DownloadUrl,u16DurlSize,NULL,0,0); in m2m_ota_start_update_crt() 268 ret = hif_send(M2M_REQ_GROUP_OTA,M2M_OTA_REQ_ROLLBACK_FW,NULL,0,NULL,0,0); in m2m_ota_rollback() 284 ret = hif_send(M2M_REQ_GROUP_OTA,M2M_OTA_REQ_ROLLBACK_CRT,NULL,0,NULL,0,0); in m2m_ota_rollback_crt() 301 ret = hif_send(M2M_REQ_GROUP_OTA,M2M_OTA_REQ_ABORT,NULL,0,NULL,0,0); in m2m_ota_abort() [all …]
|
D | m2m_crypto.c | 207 if(pstrSHA256 != NULL) in m2m_crypto_sha256_hash_init() 219 if(pstrSHA256 != NULL) in m2m_crypto_sha256_hash_update() 314 if(pstrSHA256 != NULL) in m2m_crypto_sha256_hash_finish() 559 if((pu8N != NULL) && (pu8E != NULL) && (pu8RsaSignature != NULL) && (pu8SignedMsgHash != NULL)) in m2m_crypto_rsa_sign_verify() 632 if((pu8N != NULL) && (pu8d != NULL) && (pu8RsaSignature != NULL) && (pu8SignedMsgHash != NULL)) in m2m_crypto_rsa_sign_gen() 792 gstrCryptoCtxt.pfAppCryptoCb(u8OpCode,&strResp,NULL); in m2m_crypto_cb() 814 if(pfAppCryproCb != NULL) in m2m_crypto_init() 833 if((psha256Ctxt != NULL)&&(!gstrCryptoCtxt.u8CryptoBusy)) in m2m_crypto_sha256_hash_init() 835 …2M_CRYPTO_REQ_SHA256_INIT|M2M_REQ_DATA_PKT,(uint8*)psha256Ctxt,sizeof(tstrM2mSha256Ctxt),NULL,0,0); in m2m_crypto_sha256_hash_init() 859 …if((!gstrCryptoCtxt.u8CryptoBusy) && (psha256Ctxt != NULL) && (pu8Data != NULL) && (u16DataLength … in m2m_crypto_sha256_hash_update() [all …]
|
D | nmdrv.c | 110 if (pstrRev != NULL) in nm_get_firmware_full_info() 174 if (pstrRev != NULL) in nm_get_ota_firmware_info() 240 ret = nm_bus_iface_init(NULL); in nm_drv_init_download_mode() 284 if(NULL != arg) { in nm_drv_init() 293 ret = nm_bus_iface_init(NULL); in nm_drv_init()
|
D | m2m_periph.c | 119 return gpio_ioctl(GPIO_OP_DIR, u8GpioNum, u8GpioDir, NULL); in m2m_periph_gpio_set_dir() 124 return gpio_ioctl(GPIO_OP_SET, u8GpioNum, u8GpioVal, NULL); in m2m_periph_gpio_set_val()
|
D | m2m_ate_mode.c | 174 return nm_drv_deinit(NULL); in m2m_ate_deinit() 335 if(NULL == strM2mAteTx) in m2m_ate_start_tx() 490 if(NULL == strM2mAteRxStr) in m2m_ate_start_rx() 600 if(NULL == strM2mAteRxStatus) in m2m_ate_read_rx_status()
|
D | m2m_hif.c | 303 if(pu8DataBuf != NULL) in hif_send() 376 if(pu8CtrlBuf != NULL) in hif_send() 382 if(pu8DataBuf != NULL) in hif_send() 609 if((u32Addr == 0)||(pu8Buf == NULL) || (u16Sz == 0)) in hif_receive()
|
D | nmspi.c | 104 spi.pu8InBuf = NULL; in nmi_spi_read() 114 spi.pu8OutBuf = NULL; in nmi_spi_write() 984 result = spi_cmd_complete(cmd, addr, NULL, size, 0); in nm_spi_write()
|
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/socket/source/ |
D | socket.c | 147 …if((u16ReadCount > 0) && (gastrSockets[sock].pu8UserBuffer != NULL) && (gastrSockets[sock].u16User… in Socket_ReadSocketData() 181 if(hif_receive(0, NULL, 0, 1) == M2M_SUCCESS) in Socket_ReadSocketData() 346 strRecvMsg.pu8Buffer = NULL; in m2m_ip_cb() 356 if(hif_receive(0, NULL, 0, 1) == M2M_SUCCESS) in m2m_ip_cb() 401 if(gfpPingCb != NULL) in m2m_ip_cb() 457 hif_register_cb(M2M_REQ_GROUP_IP, NULL); in socketDeinit() 458 gpfAppSocketCb = NULL; in socketDeinit() 459 gpfAppResolveCb = NULL; in socketDeinit() 595 if((pstrAddr != NULL) && (sock >= 0) && (gastrSockets[sock].bIsUsed == 1) && (u8AddrLen != 0)) in bind() 610 s8Ret = SOCKET_REQUEST(u8CMD, (uint8*)&strBind,sizeof(tstrBindCmd) , NULL , 0, 0); in bind() [all …]
|
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/bsp/include/ |
D | nm_bsp.h | 61 #ifndef NULL 62 #define NULL ((void*)0) macro
|