<?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>Services and Characteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83530/services-and-characteristics</link><description>Hi there, 
 First of all I have to say that I am new to BLE technology development. I tried something using your tutorial and I think I succeeded. The board can advertise with 128bit UUID. I can send and receive data using nrf connect app. I have no problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jan 2022 11:37:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83530/services-and-characteristics" /><item><title>RE: Services and Characteristics</title><link>https://devzone.nordicsemi.com/thread/347131?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 11:37:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9d08f16-9327-4a95-8ed4-a3a5a128cedd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]What are services and characteristics? &lt;br /&gt;Why do we need them? I mean why we do not send the data directly? &lt;br /&gt;Do we have to add at least one characteristic in a service?[/quote]
&lt;p&gt;I suggest &lt;a href="https://www.bluetooth.com/blog/a-developers-guide-to-bluetooth/"&gt;this short intro to Bluetooth services and characteristics&lt;/a&gt;. You do need at least one characteristic in a service, yes. A service is a collection of characteristics. All data is communicated sent/received or read/written via a characteristic.&lt;/p&gt;
[quote user=""]&lt;span lang="en"&gt;Last but not least, how many byte can we send in one characteristic?&lt;/span&gt;&amp;nbsp;[/quote]
&lt;p&gt;The Nordic SDK&amp;#39;s contain a custom BLE service called the Nordic UART Service, which is a simple data channel. If that is what you want, I suggest you refer to these examples. For peripheral side, that would be &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;Bluetooth: Peripheral UART&lt;/a&gt;&amp;nbsp;if using the nRF Connect SDK, and &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_nus_eval.html"&gt;UART/Serial Port Emulation over BLE&lt;/a&gt;&amp;nbsp;if using the older nRF5 SDK.&lt;/p&gt;
&lt;p&gt;This depends on several factors, like the capabilities of the two devices communicating and the configuration. Also, it depends on which layer in the protocol stack you are looking at. The absolute maximum size of a characteristic is 512 bytes. however, if you want data in a single link layer packet, and use data length extension, the maximum number size of the GATT packet is 247 bytes, giving you 244 as the maximum user data payload. If you need to send more data, send more packets (as notifications, if you want to maximize throughput / minimize overhead).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>