<?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>Mobile Application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27334/mobile-application</link><description>Hello, 
 I want to transfer and particular size image from mobile phone to nrf51822 Board. 
 can anyone know the application which can transfer an jpeg image file from phone to nrf51822 board? 
 Please help me... 
 Thank You</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Nov 2017 13:18:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27334/mobile-application" /><item><title>RE: Mobile Application</title><link>https://devzone.nordicsemi.com/thread/107969?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2017 13:18:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce495406-e1e3-434b-b827-3a81dcfc449b</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;@milav Have you checked to see what the differences between your app and the &lt;a href="https://github.com/NordicPlayground/Android-Image-Transfer-Demo"&gt;app used&lt;/a&gt; in the &lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo"&gt;high throughput demo are&lt;/a&gt;? I would use the high throughput demo app as a starting point for your app, as that one definitely works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mobile Application</title><link>https://devzone.nordicsemi.com/thread/107968?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 08:02:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf119734-fc8f-44bc-88d8-6629a3a7f131</guid><dc:creator>milav</dc:creator><description>&lt;p&gt;I changed MTU SIZE in nRF connect application from 23 to 30..&lt;/p&gt;
&lt;p&gt;and in peripheral side it will change from 23 to 30.&lt;/p&gt;
&lt;p&gt;but still we get error ..&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;request mtu not supported..MTU changed to 23&lt;/strong&gt; in mobile application.&lt;/p&gt;
&lt;p&gt;And peripheral restart ....&lt;/p&gt;
&lt;p&gt;where is the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mobile Application</title><link>https://devzone.nordicsemi.com/thread/107972?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 07:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22b74996-5186-4f6b-b6e3-c51ad08aa15e</guid><dc:creator>milav</dc:creator><description>&lt;p&gt;here I have send the snap shots of both characteristic.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static uint32_t rx_char_add(ble_nus_t * p_nus, const ble_nus_init_t * p_nus_init)
{
    /**@snippet [Adding proprietary characteristic to S110 SoftDevice] */
    ble_gatts_char_md_t char_md;
    ble_gatts_attr_md_t cccd_md;
    ble_gatts_attr_t    attr_char_value;
    ble_uuid_t          ble_uuid;
    ble_gatts_attr_md_t attr_md;

    memset(&amp;amp;cccd_md, 0, sizeof(cccd_md));

    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;cccd_md.read_perm);
    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;cccd_md.write_perm);

    cccd_md.vloc = BLE_GATTS_VLOC_STACK;

    memset(&amp;amp;char_md, 0, sizeof(char_md));

    char_md.char_props.notify = 1;
    char_md.p_char_user_desc  = NULL;
    char_md.p_char_pf         = NULL;
    char_md.p_user_desc_md    = NULL;
    char_md.p_cccd_md         = &amp;amp;cccd_md;
    char_md.p_sccd_md         = NULL;

    ble_uuid.type = p_nus-&amp;gt;uuid_type;
    ble_uuid.uuid = BLE_UUID_NUS_RX_CHARACTERISTIC;

    memset(&amp;amp;attr_md, 0, sizeof(attr_md));

    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.read_perm);
    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.write_perm);

    attr_md.vloc    = BLE_GATTS_VLOC_STACK;
    attr_md.rd_auth = 0;
    attr_md.wr_auth = 0;
    attr_md.vlen    = 1;

    memset(&amp;amp;attr_char_value, 0, sizeof(attr_char_value));

    attr_char_value.p_uuid    = &amp;amp;ble_uuid;
    attr_char_value.p_attr_md = &amp;amp;attr_md;
    attr_char_value.init_len  = sizeof(uint8_t);
    attr_char_value.init_offs = 0;
    attr_char_value.max_len   = BLE_NUS_MAX_RX_CHAR_LEN;

    return sd_ble_gatts_characteristic_add(p_nus-&amp;gt;service_handle,
                                           &amp;amp;char_md,
                                           &amp;amp;attr_char_value,
                                           &amp;amp;p_nus-&amp;gt;rx_handles);
    /**@snippet [Adding proprietary characteristic to S110 SoftDevice] */
}
&lt;/code&gt;&lt;/pre&gt;
&lt;hr /&gt;
&lt;pre&gt;&lt;code&gt;static uint32_t tx_char_add(ble_nus_t * p_nus, const ble_nus_init_t * p_nus_init)
{
    ble_gatts_char_md_t char_md;
    ble_gatts_attr_t    attr_char_value;
    ble_uuid_t          ble_uuid;
    ble_gatts_attr_md_t attr_md;

    memset(&amp;amp;char_md, 0, sizeof(char_md));

    char_md.char_props.write         = 1;
    char_md.char_props.write_wo_resp = 1;
    char_md.p_char_user_desc         = NULL;
    char_md.p_char_pf                = NULL;
    char_md.p_user_desc_md           = NULL;
    char_md.p_cccd_md                = NULL;
    char_md.p_sccd_md                = NULL;

    ble_uuid.type = p_nus-&amp;gt;uuid_type;
    ble_uuid.uuid = BLE_UUID_NUS_TX_CHARACTERISTIC;

    memset(&amp;amp;attr_md, 0, sizeof(attr_md));

    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.read_perm);
    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.write_perm);

    attr_md.vloc    = BLE_GATTS_VLOC_STACK;
    attr_md.rd_auth = 0;
    attr_md.wr_auth = 0;
    attr_md.vlen    = 1;

    memset(&amp;amp;attr_char_value, 0, sizeof(attr_char_value));

    attr_char_value.p_uuid    = &amp;amp;ble_uuid;
    attr_char_value.p_attr_md = &amp;amp;attr_md;
    attr_char_value.init_len  = 1;
    attr_char_value.init_offs = 0;
    attr_char_value.max_len   = BLE_NUS_MAX_TX_CHAR_LEN;

    return sd_ble_gatts_characteristic_add(p_nus-&amp;gt;service_handle,
                                           &amp;amp;char_md,
                                           &amp;amp;attr_char_value,
                                           &amp;amp;p_nus-&amp;gt;tx_handles);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;hr /&gt;
&lt;p&gt;the last sentence you said.... &lt;strong&gt;You may also request higher mtu from Android or nrf before transiting the image.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I did not get .... how the android request me ....??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mobile Application</title><link>https://devzone.nordicsemi.com/thread/107971?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 06:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d563a85d-cb40-4f77-beb6-fbab5ae81efb</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Did you configure your characteristic for write without response? You may also request higher mtu from Android or nrf before transiting the image.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mobile Application</title><link>https://devzone.nordicsemi.com/thread/107970?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 06:29:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96e0c635-5033-4a07-ad78-2aa4b9cdaddd</guid><dc:creator>milav</dc:creator><description>&lt;p&gt;Thank You Much...&lt;/p&gt;
&lt;p&gt;Now i have to be transfer &lt;strong&gt;2912 Bytes&lt;/strong&gt; Image From Mobile application to nrf51822 Board (display on LCD).&lt;/p&gt;
&lt;p&gt;The Mobile Application is same replica of nRF Toolbox UART app.&lt;/p&gt;
&lt;p&gt;So the maximum Time the bytes to transfer is 0.046592 sec.&lt;/p&gt;
&lt;p&gt;and if we add delay of application and software delay  around  5 sec...&lt;/p&gt;
&lt;p&gt;but it take &lt;strong&gt;50 SEC&lt;/strong&gt; between browse the image and display on LCD.&lt;/p&gt;
&lt;p&gt;please suggest me a right way.&lt;/p&gt;
&lt;p&gt;thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mobile Application</title><link>https://devzone.nordicsemi.com/thread/107967?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2017 13:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcac26e2-d9e0-4c30-9f1a-906fbe05a2c2</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi, you may find this interesting: &lt;a href="https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo"&gt;github.com/.../nrf52-ble-image-transfer-demo&lt;/a&gt;
This allows you to send images from the nRF52840 DK + camera to a phone, and also streaming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>