<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>52832 NUS 串口透传部分数据变成了 0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68018/52832-nus-0</link><description>（中文） 
 我在串口透传 NUS 的例程基础上开发，做了以下修改： 
 1. 最大传输包长 NRF_SDH_BLE_GATT_MAX_MTU_SIZE 设置成了 247 
 
 如上图所示，当蓝牙从机发送数据包时，蓝牙主机接收到的部分字节总会变成 0. 
 而且变成 0 的字节位置总是固定的。 
 请问应该如何消除这个问题。 
 
 （English） 
 My development based on BLE NUS examples. 
 I changed NRF_SDH_BLE_GATT_MAX_MTU_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Nov 2020 12:31:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68018/52832-nus-0" /><item><title>RE: 52832 NUS 串口透传部分数据变成了 0</title><link>https://devzone.nordicsemi.com/thread/278770?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 12:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2256ce7c-be0b-4bd6-907e-2f7e280eb959</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you able to provide a minimal version of your project to let me replicate this here on my side? I will make this case private if it helps. I think the problem must be in the application layer, possibly on the master side. Because packets that are correctly passed to the Softdevice&amp;#39;s send function are more or less guaranteed to be sent and received correctly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>