fm/qcom/fmradio/FmTransmitter.java
public int transmitRdsGroups(byte[] rdsGroups, long numGroupsToTransmit){
      /*
       * This functionality is currently unsupported
       */

    return -1;
   }
/**
    *  This function will transmit RDS/RBDS groups
    *  over an already tuned station.
    *  This is an asynchronous function used to transmit RDS/RBDS
    *  groups over an already tuned station. This functionality is
    *  is currently unsupported.
    *  <p>
    *  This function accepts a buffer (rdsGroups) containing one or
    *  more RDS groups. When sending this buffer, the application
    *  must also indicate how many groups should be taken from this
    *  buffer (numGroupsToTransmit). It may be possible that the FM
    *  driver can not accept the number of group contained in the
    *  buffer and will indicate how many group were actually
    *  accepted through the return value.
    *
    *  <p>
    *  The FM driver will indicate to the application when it is
    *  ready to accept more data via both the
    *  "onRDSGroupsAvailable()" and "onRDSGroupsComplete()" events
    *  callbacks. The "onRDSGroupsAvailable()" callback will
    *  indicate to the application that the FM driver can accept
    *  additional groups even though all groups may not have been
    *  passed to the FM transmitter. The onRDSGroupsComplete()
    *  callback will indicate when the FM driver has a complete
    *  buffer to transmit RDS data. In many cases all data passed to
    *  the FM driver will be passed to the FM hardware and only a
    *  onRDSGroupsComplete() event will be generated by the
    *  FM driver.
    *  <p> If the application attempts to send more groups than the
    *  FM driver can handle, the application must wait until it
    *  receives a onRDSGroupsAvailable or a onRDSGroupsComplete
    *  event before attempting to transmit more groups. Failure to
    *  do so may result in no group being consumed by the FM driver.
    *  <p> It is important to note that switching between continuous
    *  and non-continuous transmission of RDS groups can only happen
    *  when no RDS/RBDS group transmission is underway. If an
    *  RDS/RBDS group transmission is already underway, the
    *  application must wait for a onRDSGroupsComplete. If the application
    *  wishes to switch from continuous to non-continuous (or
    *  vice-versa) without waiting for the current transmission to
    *  complete, the application can clear all remaining groups
    *  using the {@link #transmitRdsGroupControl} command.
    *  <p>
    *  Once completed, this command will generate a
    *  onRDSGroupsComplete event to all registered applications.
    *
    *  @param rdsGroups The RDS/RBDS groups buffer to transmit.
    *  @param numGroupsToTransmit The number of groups in the buffer
    *                             to transmit.
    *
    *  @return The number of groups the FM driver actually accepted.
    *          A value >0 indicates the command was successfully
    *          accepted and a return value of "-1" indicates error.
    *
    *  @see #transmitRdsGroupControl
    */
This function will transmit RDS/RBDS groups
over an already tuned station.
This is an asynchronous function used to transmit RDS/RBDS
groups over an already tuned station. This functionality is
is currently unsupported.

This function accepts a buffer (rdsGroups) containing one or
more RDS groups. When sending this buffer, the application
must also indicate how many groups should be taken from this
buffer (numGroupsToTransmit). It may be possible that the FM
driver can not accept the number of group contained in the
buffer and will indicate how many group were actually
accepted through the return value.


The FM driver will indicate to the application when it is
ready to accept more data via both the
"onRDSGroupsAvailable()" and "onRDSGroupsComplete()" events
callbacks. The "onRDSGroupsAvailable()" callback will
indicate to the application that the FM driver can accept
additional groups even though all groups may not have been
passed to the FM transmitter. The onRDSGroupsComplete()
callback will indicate when the FM driver has a complete
buffer to transmit RDS data. In many cases all data passed to
the FM driver will be passed to the FM hardware and only a
onRDSGroupsComplete() event will be generated by the
FM driver.
 If the application attempts to send more groups than the
FM driver can handle, the application must wait until it
receives a onRDSGroupsAvailable or a onRDSGroupsComplete
event before attempting to transmit more groups. Failure to
do so may result in no group being consumed by the FM driver.
 It is important to note that switching between continuous
and non-continuous transmission of RDS groups can only happen
when no RDS/RBDS group transmission is underway. If an
RDS/RBDS group transmission is already underway, the
application must wait for a onRDSGroupsComplete. If the application
wishes to switch from continuous to non-continuous (or
vice-versa) without waiting for the current transmission to
complete, the application can clear all remaining groups
using the  #transmitRdsGroupControl command.

Once completed, this command will generate a
onRDSGroupsComplete event to all registered applications.

@param rdsGroups The RDS/RBDS groups buffer to transmit.
@param numGroupsToTransmit The number of groups in the buffer
to transmit.

@return The number of groups the FM driver actually accepted.
A value >0 indicates the command was successfully
accepted and a return value of "-1" indicates error.


This function will transmit RDS / RBDS groups over an already tuned station . This is an asynchronous function used to transmit RDS / RBDS groups over an already tuned station . This functionality is is currently unsupported . This function accepts a buffer ( rdsGroups ) containing one or more RDS groups . When sending this buffer the application must also indicate how many groups should be taken from this buffer ( numGroupsToTransmit ) . It may be possible that the FM driver can not accept the number of group contained in the buffer and will indicate how many group were actually accepted through the return value . The FM driver will indicate to the application when it is ready to accept more data via both the " onRDSGroupsAvailable () " and " onRDSGroupsComplete () " events callbacks . The " onRDSGroupsAvailable () " callback will indicate to the application that the FM driver can accept additional groups even though all groups may not have been passed to the FM transmitter . The onRDSGroupsComplete () callback will indicate when the FM driver has a complete buffer to transmit RDS data . In many cases all data passed to the FM driver will be passed to the FM hardware and only a onRDSGroupsComplete () event will be generated by the FM driver . If the application attempts to send more groups than the FM driver can handle the application must wait until it receives a onRDSGroupsAvailable or a onRDSGroupsComplete event before attempting to transmit more groups . Failure to do so may result in no group being consumed by the FM driver . It is important to note that switching between continuous and non - continuous transmission of RDS groups can only happen when no RDS / RBDS group transmission is underway . If an RDS / RBDS group transmission is already underway the application must wait for a onRDSGroupsComplete . If the application wishes to switch from continuous to non - continuous ( or vice - versa ) without waiting for the current transmission to complete the application can clear all remaining groups using the #transmitRdsGroupControl command . Once completed this command will generate a onRDSGroupsComplete event to all registered applications . @param rdsGroups The RDS / RBDS groups buffer to transmit . @param numGroupsToTransmit The number of groups in the buffer to transmit . @return The number of groups the FM driver actually accepted . A value > 0 indicates the command was successfully accepted and a return value of " - 1 " indicates error .
public int transmitRdsGroups(byte[] rdsGroups, long numGroupsToTransmit){
      /*
       * This functionality is currently unsupported
       */
    return -1;
   }
public int transmitRdsGroups ( byte [ ] rdsGroups , long numGroupsToTransmit ) { /*
       * This functionality is currently unsupported
       */ return - 1 ; }
This function will transmit RDS/RBDS groups
  over an already tuned station.
This function will transmit RDS / RBDS groups over an already tuned station .