<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BleApp_GattServerCallback get a error:procedureError in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/BleApp-GattServerCallback-get-a-error-procedureError/m-p/1277804#M60552</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. I am aware that there are two threads with the same question, so I will close this thread to facilitate communication and continue the support in this other thread: &lt;A href="https://community.nxp.com/t5/Wireless-Connectivity/BleApp-GattServerCallback-get-a-error-procedureError/td-p/1277432" target="_blank"&gt;https://community.nxp.com/t5/Wireless-Connectivity/BleApp-GattServerCallback-get-a-error-procedureError/td-p/1277432&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 23:33:26 GMT</pubDate>
    <dc:creator>Ricardo_Zamora</dc:creator>
    <dc:date>2021-05-17T23:33:26Z</dc:date>
    <item>
      <title>BleApp_GattServerCallback get a error:procedureError</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/BleApp-GattServerCallback-get-a-error-procedureError/m-p/1277178#M60542</link>
      <description>&lt;P&gt;hi NXP team:&lt;/P&gt;&lt;P&gt;After my device is connected to the phone,After testing for a while，Probabilistically, the phone cannot receive data,At the same time, there is an error Log on my device&lt;/P&gt;&lt;P&gt;my code&lt;/P&gt;&lt;P&gt;static void BleApp_GattServerCallback (deviceId_t deviceId, gattServerEvent_t* pServerEvent)&lt;BR /&gt;{&lt;BR /&gt;uint16_t handle;&lt;BR /&gt;uint8_t status;&lt;BR /&gt;uint8_t i;&lt;BR /&gt;#if DEBUG_BLUETOOTH&lt;BR /&gt;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;PRINTF("BleApp_GattServerCallback=%d\r\n",pServerEvent-&amp;gt;eventType);&lt;/FONT&gt;&lt;BR /&gt;#endif&lt;BR /&gt;switch (pServerEvent-&amp;gt;eventType)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;case gEvtError_c:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;PRINTF("stephen gEvtError_c:error:0x%x,procedureType:0x%x\r\n",pServerEvent-&amp;gt;eventData.procedureError.error,pServerEvent-&amp;gt;eventData.procedureError.procedureType);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;}&lt;/FONT&gt;&lt;BR /&gt;break;&lt;BR /&gt;&lt;BR /&gt;case gEvtAttributeWritten_c:&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;handle = pServerEvent-&amp;gt;eventData.attributeWrittenEvent.handle;&lt;BR /&gt;status = gAttErrCodeNoError_c;&lt;/P&gt;&lt;P&gt;GattServer_SendAttributeWrittenStatus(deviceId, handle, status);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;break;&lt;BR /&gt;case gEvtHandleValueConfirmation_c:&lt;BR /&gt;{&lt;BR /&gt;BleApp_HandleValueConfirmation (deviceId);&lt;BR /&gt;}&lt;BR /&gt;break;&lt;BR /&gt;default:&lt;BR /&gt;break;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;from the log&amp;nbsp; we got:&lt;/P&gt;&lt;P&gt;BleApp_GattServerCallback=5 ----&amp;gt; &lt;FONT color="#FF0000"&gt;gEvtError_c, /*!&amp;lt; An error appeared during a Server-initiated procedure. */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;stephen gEvtError_c:error:0x5(&lt;FONT color="#FF0000"&gt;gBleOutOfMemory_c = gBleStatusBase_c | 0x05, /*!&amp;lt; An internal memory allocation failed. */&lt;/FONT&gt;),procedureType:0x2（&lt;FONT color="#FF0000"&gt; gSendNotification_c, /*!&amp;lt; Procedure initiated by GattServer_SendNotification. */&lt;/FONT&gt;）&lt;/P&gt;&lt;P&gt;I have been stuck with this problem for a long time,i need nxp team help&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 07:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/BleApp-GattServerCallback-get-a-error-procedureError/m-p/1277178#M60542</guid>
      <dc:creator>shizelin</dc:creator>
      <dc:date>2021-05-15T07:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: BleApp_GattServerCallback get a error:procedureError</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/BleApp-GattServerCallback-get-a-error-procedureError/m-p/1277804#M60552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. I am aware that there are two threads with the same question, so I will close this thread to facilitate communication and continue the support in this other thread: &lt;A href="https://community.nxp.com/t5/Wireless-Connectivity/BleApp-GattServerCallback-get-a-error-procedureError/td-p/1277432" target="_blank"&gt;https://community.nxp.com/t5/Wireless-Connectivity/BleApp-GattServerCallback-get-a-error-procedureError/td-p/1277432&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 23:33:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/BleApp-GattServerCallback-get-a-error-procedureError/m-p/1277804#M60552</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2021-05-17T23:33:26Z</dc:date>
    </item>
  </channel>
</rss>

