<?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>HID consumer page</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60327/hid-consumer-page</link><description>{ 0x05, 0x0c, // USAGE_PAGE (Consumer Devices) 0x09, 0x01, // USAGE (Consumer Control) 0xa1, 0x01, // COLLECTION (Application) 
 0x05, 0x0c, // USAGE_PAGE (Consumer Devices) 0x09, 0xE0, // USAGE (Volume) 0x15, 0xFF, // LOGICAL_MINIMUM (-1) 0x25, 0x01</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Apr 2020 10:39:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60327/hid-consumer-page" /><item><title>RE: HID consumer page</title><link>https://devzone.nordicsemi.com/thread/246212?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 10:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:653713ae-0928-4bce-8245-81fa00935744</guid><dc:creator>xianke</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1587638275131v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In this description,which sector i should use? and how to send the ctrl cmd?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID consumer page</title><link>https://devzone.nordicsemi.com/thread/246136?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 02:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f958dea-6980-4c87-8cdd-5aa0893ba034</guid><dc:creator>xianke</dc:creator><description>&lt;p&gt;Because I want make the volume up or down smothly, not step a lot at once.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID consumer page</title><link>https://devzone.nordicsemi.com/thread/246055?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 13:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3e58cf9-358b-45c1-b53e-9c51e69f4492</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;I havent tested the linear control, unfortunately, but found an example of it here:&amp;nbsp;&lt;a href="https://github.com/microsoft/Windows-universal-samples/blob/master/Samples/CustomHidDeviceAccess/cs/SampleConfiguration.cs#L107"&gt;https://github.com/microsoft/Windows-universal-samples/blob/master/Samples/CustomHidDeviceAccess/cs/SampleConfiguration.cs#L107&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But, since you have it with increase / decrease of 1, why not use the two bits for volup + voldown?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID consumer page</title><link>https://devzone.nordicsemi.com/thread/245704?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 06:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0276886-ed6b-4d82-8905-ea9511450c95</guid><dc:creator>xianke</dc:creator><description>&lt;p&gt;Yeah,I know. I also get the logical min/max of 0xE0 -1 to 1 in my descriptor.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID consumer page</title><link>https://devzone.nordicsemi.com/thread/245698?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 06:31:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18f3960a-7524-4159-afd7-39bf38cd8160</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;0xE0 is the volume slider, and its defined as a &amp;quot;linear control&amp;quot;, per this document chapter 3.4.1 (page 17):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf"&gt;https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You have to have a logical min/max of -1 to 1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you turn to page 77 in the document, you can rather use 0xE9 and 0xEA to adjust volume if you want to send data in a bit pattern.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID consumer page</title><link>https://devzone.nordicsemi.com/thread/245683?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 01:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d1defc8-d004-4a7b-b8c7-dfb0b0b148d1</guid><dc:creator>xianke</dc:creator><description>&lt;p&gt;I can get the music play/pause in my descriptor, but I can&amp;#39;t volume up or volume down with the 0xE0(0x01 or 0x03),I just want to know why the volume(0xE0) not work in consumer page in my descriptor?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID consumer page</title><link>https://devzone.nordicsemi.com/thread/245536?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 12:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:543aac51-ee0c-4bbf-98fa-a2f381fa2ad1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Why it did not work when I send the 0x01 or 0x03 to the iphone with my device? The device had paired with iphone; and i can get the music play/pause with the cmd of 0x40.[/quote]
&lt;p&gt;Could you try this descriptor? It has mapped bit 0 to play/pause:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Rallare/nrf51_ble_app_hids_kbd_consumercontrol/blob/master/main.c#L622-L648"&gt;https://github.com/Rallare/nrf51_ble_app_hids_kbd_consumercontrol/blob/master/main.c#L622-L648&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>