libnjb: Enumerators to identify different jukeboxes

libnjb 2.2.6

- Main Page
- Modules
- Data Structures
- Files
- Examples

Macros
Enumerators to identify different jukeboxes

## Macros
#define | NJB_DEVICE_NJB1 0x00
#define | NJB_DEVICE_NJB2 0x01
#define | NJB_DEVICE_NJB3 0x02
#define | NJB_DEVICE_NJBZEN 0x03
#define | NJB_DEVICE_NJBZEN2 0x04
#define | NJB_DEVICE_NJBZENNX 0x05
#define | NJB_DEVICE_NJBZENXTRA 0x06
#define | NJB_DEVICE_DELLDJ 0x07
#define | NJB_DEVICE_NJBZENTOUCH 0x08
#define | NJB_DEVICE_NJBZENMICRO 0x09
#define | NJB_DEVICE_DELLDJ2 0x0a
#define | NJB_DEVICE_POCKETDJ 0x0b
#define | NJB_DEVICE_ZENSLEEK 0x0c
#define | NJB_DEVICE_CREATIVEZEN 0x0d
#define | NJB_DEVICE_DELLDJ3 0x0e

## Detailed Description

These are found in the `device_type` field of the `njb_t` struct. It is used a lot inside libnjb for deciding how to handle a certain device.

See also:
  njb_t

## Macro Definition Documentation

#define NJB_DEVICE_CREATIVEZEN 0x0d

Creative Zen (Micro variant)

#define NJB_DEVICE_DELLDJ 0x07

Dell Digital DJ "Dell DJ"

#define NJB_DEVICE_DELLDJ2 0x0a

Second Generation Dell DJ

#define NJB_DEVICE_DELLDJ3 0x0e

Third Generation Dell DJ

#define NJB_DEVICE_NJB1 0x00

Nomad Jukebox 1

Examples:
  handshake.c.

Referenced by NJB_Adjust_EAX(), NJB_Capture(), njb_close(), NJB_Create_Folder(), NJB_Delete_Datafile(), NJB_Delete_Playlist(), NJB_Delete_Track(), NJB_Elapsed_Time(), NJB_Get_Auxpower(), NJB_Get_Battery_Charging(), NJB_Get_Battery_Level(), NJB_Get_Datafile_Tag(), NJB_Get_Device_Name(), NJB_Get_Disk_Usage(), NJB_Get_EAX_Type(), NJB_Get_Firmware_Revision(), NJB_Get_Hardware_Revision(), NJB_Get_NJB1_Libcounter(), NJB_Get_Owner_String(), NJB_Get_Playlist(), NJB_Get_SDMI_ID(), NJB_Get_Time(), NJB_Get_Track_fd(), NJB_Get_Track_Tag(), NJB_Handshake(), NJB_Open(), NJB_Ping(), NJB_Play_Track(), NJB_Queue_Track(), NJB_Release(), NJB_Replace_Track_Tag(), NJB_Reset_Get_Datafile_Tag(), NJB_Reset_Get_EAX_Type(), NJB_Reset_Get_Playlist(), NJB_Reset_Get_Track_Tag(), NJB_Send_File(), NJB_Send_Track(), NJB_Set_Owner_String(), NJB_Set_Time(), NJB_Stop_Play(), and NJB_Update_Playlist().

#define NJB_DEVICE_NJB2 0x01

Nomad Jukebox 2

Referenced by NJB_Get_Bitmap_Dimensions().

#define NJB_DEVICE_NJB3 0x02

Nomad Jukebox 3

Referenced by datafile_pack3(), new_folder_pack3(), NJB_Close(), NJB_Get_Bitmap_Dimensions(), and NJB_Open().

#define NJB_DEVICE_NJBZEN 0x03

Nomad Jukebox Zen (with FireWire)

Referenced by datafile_pack3(), new_folder_pack3(), NJB_Close(), NJB_Get_Bitmap_Dimensions(), and NJB_Open().

#define NJB_DEVICE_NJBZEN2 0x04

Nomad Jukebox Zen USB 2.0

Referenced by NJB_Get_Bitmap_Dimensions().

#define NJB_DEVICE_NJBZENMICRO 0x09

Nomad Jukebox Zen Micro

#define NJB_DEVICE_NJBZENNX 0x05

Nomad Jukebox Zen NX

Referenced by NJB_Get_Bitmap_Dimensions().

#define NJB_DEVICE_NJBZENTOUCH 0x08

Nomad Jukebox Zen Touch

Referenced by NJB_Get_Bitmap_Dimensions().

#define NJB_DEVICE_NJBZENXTRA 0x06

Nomad Jukebox Zen Xtra

Referenced by NJB_Get_Bitmap_Dimensions().

#define NJB_DEVICE_POCKETDJ 0x0b

Dell Pocket DJ

#define NJB_DEVICE_ZENSLEEK 0x0c

Zen Sleek