MCPcopy Create free account
hub / github.com/devkitPro/libctru / NFC_StopCommunication

Function NFC_StopCommunication

libctru/source/services/nfc.c:179–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179static Result NFC_StopCommunication(void)
180{
181 Result ret=0;
182 u32* cmdbuf=getThreadCommandBuffer();
183
184 cmdbuf[0]=IPC_MakeHeader(0x4,0,0); // 0x40000
185
186 if(R_FAILED(ret = svcSendSyncRequest(nfcHandle)))return ret;
187 ret = cmdbuf[1];
188
189 return ret;
190}
191
192static Result NFC_StartTagScanning(u16 unknown)
193{

Callers 1

nfcStopScanningFunction · 0.85

Calls 2

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85

Tested by

no test coverage detected