<?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>media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1869/media-button-become-invalid-when-ble-mouse-reboot-and-connected-to-pc</link><description>When I connect my ble mouse to the PC win8.1 , media button works normal. 
 When I power off and power on my mouse, it reconnected to win8.1 PC quickly, sensor ,left button,right button works well but media button. 
 I must remove ble mouse from win8</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Mar 2014 12:34:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1869/media-button-become-invalid-when-ble-mouse-reboot-and-connected-to-pc" /><item><title>RE: media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/thread/8079?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2014 12:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f43eb8ba-96e3-47cc-9ab1-1c645040ca59</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;Yes I get the notification from mouse&lt;/p&gt;
&lt;p&gt;But it is the same as I catch data from ble-sniffer and wireshark&lt;/p&gt;
&lt;p&gt;I can get the media button value but it&amp;#39;s not work in windows just send data.&lt;/p&gt;
&lt;p&gt;So can you see  my notes on  Monday, March 17 2014, 09:33?&lt;/p&gt;
&lt;p&gt;I have already make sure that white list info story cause this phenomenon.&lt;/p&gt;
&lt;p&gt;If I can store bonds story with &amp;quot;ble_bondmngr_bonded_centrals_store()&amp;quot;  before  disconnected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/thread/8078?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2014 10:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3af4c042-d6dd-44a7-b9d0-70eb276a22f7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will have to bond to the device, and then press &amp;quot;Enable services&amp;quot;.
Then you should get notifications from the mouse.&lt;/p&gt;
&lt;p&gt;BR
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/thread/8077?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2014 10:27:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27ecd4a0-487b-4720-8762-08b2f18a1bc5</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;I just program it with  nRFgo Studio  and  firmware  use this  C:\Program Files\Nordic Semiconductor\Master Control Panel\3.5.0.8226\firmware\pca10000\MEFW_nRF51822_0.9.0_firmware.hex&lt;/p&gt;
&lt;p&gt;It;s that be ok?&lt;/p&gt;
&lt;p&gt;And I get some log from it, but when I press the button it causes nothing, so how can I reappear the problem with  MasterControlPanel ?&lt;/p&gt;
&lt;p&gt;I just do like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;plug the dongle and program MEFW_nRF51822_0.9.0_firmware.hex into it with nRFgo Studio&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the  MasterControlPanel  start the dongle server&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Scan for devices&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select my ble device (nrf51822)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;press the Service button to discovery service&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I try to enable some service in HID service but not work, I know which UUID relate to media button&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;where to get the event data ?  How can I find is it work or not?&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img1.ph.126.net/fU5smW3LTVmwBszbsa0LzA==/3311553101101166752.png" alt="http://img1.ph.126.net/fU5smW3LTVmwBszbsa0LzA==/3311553101101166752.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/media-button-log.txt"&gt;media button log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/thread/8076?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2014 09:02:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bb9a79a-224d-4309-a0b7-5899c8cf83e0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you open MasterControlPanel, select the dongle COM-port, then go to &amp;quot;file -&amp;gt; Flash programming&amp;quot;, then you should be pointed directly to the master control panel .hex file.&lt;/p&gt;
&lt;p&gt;Try this to see if the behavior is similar.&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/thread/8075?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2014 08:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10d5cd5f-db97-4551-b32f-d04a47160f96</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;It seems that , when I connect to the PC and disconnected  my ble device  from PC then media button will be ok when connect again to the PC even reboot my ble device.&lt;/p&gt;
&lt;p&gt;So it must be white list problem, because when ble device get the event of disconnected it will store something by &amp;quot;ble_bondmngr_bonded_centrals_store();&amp;quot;&lt;/p&gt;
&lt;p&gt;And I try this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;when I erase all chip and program my ble app to the nrf51822 , connect to PC and mediabutton works well and&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;ble_hids_inp_rep_send(&amp;amp;m_hids,
                                         INPUT_REP_MPLAYER_INDEX,
                                         INPUT_REP_MEDIA_PLAYER_LEN,
                                         (uint8_t *)&amp;amp;mm_key);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;will return 0&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;if I reboot my ble device and it will connect to PC auto , but  ble_hids_inp_rep_send(); will return error code :&amp;quot;8&amp;quot;. it means &amp;quot;Invalid state&amp;quot;. And in this case left button right button  works well but media button not.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I want to know that , is there any info from white list will be need for media button? Why  other button and mouse move works well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/thread/8074?ContentTypeID=1</link><pubDate>Sat, 15 Mar 2014 05:55:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18f63020-3c53-4498-aba6-1e50fc63bf69</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;I try to wait 20s  and power on my mouse behavior still there.&lt;/p&gt;
&lt;p&gt;My dongle used for ble-sniffer how can I turn it back to use as master control panel?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/thread/8072?ContentTypeID=1</link><pubDate>Sat, 15 Mar 2014 03:16:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b130a013-bc85-4f20-88d4-8e03079dbdba</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;Sometimes it works well when I reboot mouse after 10 seconds but sometimes not.&lt;/p&gt;
&lt;p&gt;And it will send some media button auto.&lt;/p&gt;
&lt;p&gt;I will add some print and check it again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: media button become invalid when ble mouse reboot and connected to PC</title><link>https://devzone.nordicsemi.com/thread/8073?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2014 15:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5607bb22-4122-4906-9c08-0918d40a1837</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it the same behavior if you use master control panel as well?
Do you power the mouse on/off very quickly? Is it the same behavior if you wait 10 seconds before you power on the mouse?&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>