संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
स्वीकार की गई
कुछ मैसेज कोड के लिए, मैसेज पाने वाले व्यक्ति को स्वीकार करना ज़रूरी होता है. इस मामले में,
फ़ाइल पाने वाले व्यक्ति को सहमति (एसीके) या
मैसेज मिलने के एक सेकंड के अंदर, गलत तरीके से स्वीकार किया जाएगा (एनएके).
मैसेज ग्रुप का नाम
मान
स्वीकार है
0एक्सएफ़एफ़
पावती कोड का नाम
मान
एसीके
0x01
एनएके
0x02
मैसेज मिलने के बाद ही शिकायतें भेजी जानी चाहिए, ताकि
भेजने वाले की ओर से कार्रवाई की जा सकती है. स्वीकार की गई किसी फ़ाइल में, मैसेज का ग्रुप होना चाहिए
, कोड और उस मैसेज की मौजूदा स्थिति की जानकारी दें जिसे वह रेफ़र कर रहा है. उदाहरण के लिए, अगर
सेवा देने वाली कंपनी को, रिंग ऐक्शन (0x04010002013C) वाला एक मैसेज मिलता है,
तो 0xFF0100040401013C वापस भेजकर कार्रवाई की पुष्टि की जानी चाहिए, जहां:
0xFF: ACK इवेंट
0x01: ACK कोड
0x0004: अतिरिक्त डेटा लंबाई
0x0401: कार्रवाई वाला मैसेज ग्रुप और कोड
0x013C: कार्रवाई मैसेज ग्रुप और कोड की मौजूदा स्थिति, दाईं तरफ़ रिंग किया गया और
60 सेकंड का टाइम आउट
NAK के लिए, वजह को अतिरिक्त डेटा के पहले बाइट के तौर पर भी शामिल किया जाना चाहिए
डेटा शामिल है. इसकी ये वजहें हो सकती हैं:
0x00: मौजूद नहीं
0x01: डिवाइस व्यस्त है
0x02: मौजूदा स्थिति की वजह से अनुमति नहीं है
0x03: मैसेज की पुष्टि करने वाला गलत कोड होने की वजह से अनुमति नहीं है
0x04: डिवाइस पर ग़ैर-ज़रूरी कार्रवाई
पिछले उदाहरण से, अगर रिंग को इसके बजाय NAK किया जाना था, तो
सेवा देने वाली कंपनी किसी दूसरे काम में व्यस्त है. इसलिए, लौटाए गए पैकेट को इस पर सेट किया जाना चाहिए
0xFF02000401040100 जहां
0xFF: ACK इवेंट
0x02: NAK कोड
0x0004: अतिरिक्त डेटा लंबाई
0x01: NAK वजह, डिवाइस व्यस्त है
0x0401: कार्रवाई वाला मैसेज ग्रुप और कोड
0x00: कार्रवाई मैसेज ग्रुप और कोड, सभी कॉम्पोनेंट की मौजूदा स्थिति
घंटी बजाना बंद करो
उदाहरण:
#define FP_MSG_ACK 0x01#define FP_MSG_NAK 0x02#define FP_MSG_GROUP_ACK 0xFFstaticvoidfp_msg_send_ack(uint8_tmsgGroup,uint8_tmsgCode){FP_MESSAGE_STREAMreq={FP_MSG_GROUP_ACK,FP_MSG_ACK,0,2};req.data[0]=msgGroup;req.data[1]=msgCode;fp_send((uint8_t*)&req);}staticvoidfp_msg_send_nak(uint8_treason,uint8_tmsgGroup,uint8_tmsgCode){//reason= 0x00: Not supported, 0x01: Device busy, or 0x02: Not allowed due to current stateFP_MESSAGE_STREAMreq={FP_MSG_GROUP_ACK,FP_MSG_NAK,0,3};req.data[0]=reason;req.data[1]=msgGroup;req.data[2]=msgCode;fp_send((uint8_t*)&req);}
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-08-13 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eSome message codes require an acknowledgement (ACK) or negative-acknowledgement (NAK) response within 1 second, sent only when specified.\u003c/p\u003e\n"],["\u003cp\u003eAcknowledgements (ACKs) use the code \u003ccode\u003e0xFF01\u003c/code\u003e and should include the referenced message's group, code, and current state.\u003c/p\u003e\n"],["\u003cp\u003eNegative-acknowledgements (NAKs) use the code \u003ccode\u003e0xFF02\u003c/code\u003e and provide a reason code (e.g., \u003ccode\u003e0x01\u003c/code\u003e for Device busy) along with the message's group and code.\u003c/p\u003e\n"],["\u003cp\u003eThe acknowledgement structure includes the event (ACK/NAK), code, additional data length, and relevant message details.\u003c/p\u003e\n"],["\u003cp\u003eExample code snippets demonstrate sending ACKs and NAKs using pre-defined message group and code values.\u003c/p\u003e\n"]]],["Receivers must send an acknowledgement (ACK) or negative-acknowledgement (NAK) within one second for specific message codes. ACKs (0x01) and NAKs (0x02) belong to the 0xFF message group. Responses include the message group, code, and current state of the action, and for NAKs, a reason. Example reasons: Not supported (0x00), Device busy (0x01), Not allowed (0x02), Incorrect message code (0x03) or Redundant action (0x04). Example for ring action: `0xFF0100040401013C` or NAK :`0xFF02000401040100`.\n"],null,[]]