Sony Ericsson has a nice software "Bluetooth remote control tool" to create remote control profiles.
https://developer.sonyericsson.com/site/global/docstools/misc/p_misc.jsp
Even though its very slow this tool can be run under linux using wine.